π¦kick
The kick
event is triggered whenever a user is kicked from a channel.
bot.on('kick', (data) => {
// Your Code here
});
Parameters
data.kicker (string) β The user who kicked the other user from the channel.
data.host (string) β The host of the kicker (if available).
data.channelKick (string) β The channel from which the user was kicked.
data.kickedUser (string) β The user who was kicked from the channel.
data.reason (string) β The reason for the kick (if provided).
data.raw (string) β The raw message data from the server.
Last updated