Instance Method

addReaction(_:to:in:then:)

Adds a reaction (unicode or custom emoji) to a message

Declaration

func addReaction(_ reaction: String, to messageId: Snowflake, in channelId: Snowflake, then completion: ((RequestError?) -> Void)? = nil)

Parameters

reaction

Unicode or custom emoji reaction

messageId

Message to add reaction to

channelId

Channel to add reaction to message in