events.message_reaction_remove_all: Event, emitted whenever a reaction is being detached from a...

Description Usage Arguments Disclaimer Examples

View source: R/events_messagereactionremoveall.r

Description

Event, emitted whenever a reaction is being detached from a message

Usage

1

Arguments

data

The event fields

client

The client object

Disclaimer

reactions is a list of Reaction objects.

Examples

1
2
3
4
5
6
## Not run: 
client$emitter$on("MESSAGE_REACTION_REMOVE_ALL", function(message, reactions) {
 cat("All of the reactions have been removed from", message$content)
})

## End(Not run)

TheOnlyArtz/Pirate documentation built on Oct. 31, 2019, 12:12 a.m.