> For the complete documentation index, see [llms.txt](https://bmsvieira.gitbook.io/nova-irc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bmsvieira.gitbook.io/nova-irc/event-listeners/banlist.md).

# banlist

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

```javascript
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.
