Initializer

init(_:id:)

Creates an Emoji structure for use with reactions

Declaration

init(_ name: String, id: Snowflake? = nil)

Parameters

name

Emoji unicode character or name (if custom)

id

Emoji snowflake ID if custom (nil if unicode)