Emoji
public struct Emoji
Emoji Type
-
ID of custom emoji
Declaration
Swift
public let id: Snowflake?
-
Whether or not this emoji is managed
Declaration
Swift
public let managed: Bool?
-
Name of the emoji
Declaration
Swift
public let name: String
-
Whether this emoji requires colons to use
Declaration
Swift
public let requireColons: Bool?
-
Array of roles that can use this emoji
Declaration
Swift
public internal(set) var roles = [Role]()
-
Tag used for rest endpoints
Declaration
Swift
public var tag: String
-
Creates an Emoji structure for use with reactions
Declaration
Swift
public init(_ name: String, id: Snowflake? = nil)