🟦banlist

The banlist event is triggered whenever the user requests a list of all banned nicknames (or masks) in a channel.

bot.on('banlist', (data) => {
    // Your Code Here
});

Parameters

  • data.channelban (string) – The channel where the ban list was retrieved.

  • data.banMask (string) – The mask that was used for the ban (e.g., the username or hostmask).

  • data.setBy (string) – The user who set the ban.

  • data.timestamp (string) – The timestamp when the ban was set.

Last updated