DiscordEmoji
public struct DiscordEmoji
Represents an Emoji.
-
The snowflake id of the emoji. Nil if the emoji is a unicode emoji
Declaration
Swift
public let id: EmojiID?
-
Whether this is a managed emoji.
Declaration
Swift
public let managed: Bool
-
The name of the emoji or unicode representation if it’s a unicode emoji.
Declaration
Swift
public let name: String
-
Whether this emoji requires colons.
Declaration
Swift
public let requireColons: Bool
-
An array of role snowflake ids this emoji is active for.
Declaration
Swift
public let roles: [RoleID]