🟦channelMessage
The channelMessage event is triggered whenever the server sends a message to a channel.
This works similarly to the messageevent but is only emitted for channel messages.
bot.on('channelMessage', (data) => {
// Your Code Here
});Parameters
data.sender (string) – The sender of the message.
data.channel (string) – The channel where the message was sent.
data.content (string) – The content of the message.
data.raw (string) – The raw message data from the server.
Last updated