πŸŸͺbanlist

The banlist method emits the names event that returns an object with the current list of bans.

Syntax and example usage

bot.banlist('#YOUR-CHANNEL');

Parameters

  • channel (string, required) – The IRC channel from which the user wants to get the current list ban(e.g., #channelname).

Notes

  • Ensure the channel name starts with #.

  • The bot must have sufficient permissions (usually operator or higher)

  • The user must be present in the channel.

4o mini

Last updated