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