π¦names
The names
event is triggered when the server returns a list of all nicknames in a channel.
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.
Last updated