The quit event is triggered whenever a user quits the server.
quit
bot.on('quit', (data) => { // Your Code Here });
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 1 year ago