🟦notice

The notice event is triggered whenever the server sends a NOTICE command.

Notices are similar to messages but are typically used for system messages, warnings, or informational updates.

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

Parameters

  • data.target (string) – The recipient of the notice (user or channel).

  • data.content (string) – The content of the notice.

  • data.raw (string) – The raw message data from the server.

Last updated