add Reaction
fun BaseChannel.addReaction(message: BaseMessage, key: String, handler: ResultHandler<ReactionEvent>?)
Add reaction
Since
4.15.0
Parameters
message
The message to add reaction
key
The key of the reaction
handler
The handler for the result
Deprecated
As of 4.17.0, replaced with awaitAddReaction(message, key).
Replace with
awaitAddReaction(message, key)
Content copied to clipboard
Add reaction
Return
The reaction event
Since
4.15.0
Parameters
message
The message to add reaction
key
The reaction key to add