# names

The `names` event is triggered when the server returns a list of all nicknames in a channel.

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

#### Parameters

* **data.channel** _(string)_ – The channel for which the user list was received.
* **data.names** _(array)_ – A list of nicknames present in the channel.
* **data.raw** _(string)_ – The raw message data from the server.
