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.
motd
bot.on('motd', (data) => { // Your code here });
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 1 year ago