π¦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