🟦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