onMessageReaction
inline fun Bot.onMessageReaction(sequence: SubscribeSequence = NORMAL, crossinline processor: suspend (Event, messageReaction: MessageReactionUpdated) -> Unit)
Register processor for MessageReactionUpdated named MESSAGE_REACTION_NAME
Equivalent to the following:
// process or preProcess
bot.subscribe<MessageReactionUpdated>(sequence, MESSAGE_REACTION_NAME) { event, messageReaction ->
// ...
}
Content copied to clipboard