Last updated
Last updated
The directMessage
event is triggered whenever the server sends a private message directed to the bot.
This works similarly to the message
event but is only emitted for direct messages.
data.sender (string) – The sender of the private message.
data.content (string) – The content of the private message.
data.raw (string) – The raw message data from the server.