Last updated 5 days ago
The names event is triggered when the server returns a list of all nicknames in a channel.
names
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.
bot.on('names', (data) => { // Your Code Here });