DiscordUserGuild
public struct DiscordUserGuild
Represents a user guild.
-
The snowflake id of the guild.
Declaration
Swift
public let id: GuildID
-
The name of the guild.
Declaration
Swift
public let name: String
-
The base64 encoded icon of the guild.
Declaration
Swift
public let icon: String
-
Whether the user is the owner of the guild.
Declaration
Swift
public let owner: Bool
-
Bitwise of the user’s enabled/disabled permissions.
Declaration
Swift
public let permissions: DiscordPermission