The banlist method emits the names event that returns an object with the current list of bans.
banlist
names
bot.banlist('#YOUR-CHANNEL');
channel (string, required) β The IRC channel from which the user wants to get the current list ban(e.g., #channelname).
channel
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 1 year ago