🟦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