🟦motd

The motd event is triggered when the server sends the Message of the Day (MOTD). This is usually emitted after a successful connection to the server.

bot.on('motd', (data) => {
    // Your code here
});

Parameters

  • data.user (string) – The user receiving the MOTD.

  • data.content (string) – The Message of the Day content.

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

Last updated