π¦quit
The quit
event is triggered whenever a user quits the server.
bot.on('quit', (data) => {
// Your Code Here
});
Parameters
data.user (string) β The user who quit the server.
data.channel (string) β The channel(s) the user was in (if applicable).
data.reason (string) β The reason the user quit the server (if provided).
data.raw (string) β The raw message data from the server.
Last updated