The part event is triggered whenever a user leaves (parts from) a channel.
part
bot.on('part', (data) => { // Your Code Here });
data.user (string) β The user who left the channel.
data.channel (string) β The channel that was left.
data.reason (string) β The reason for leaving (if provided).
data.raw (string) β The raw message data from the server.
Last updated 1 year ago