Last updated
Last updated
The channelMessage
event is triggered whenever the server sends a message to a channel.
This works similarly to the message
event but is only emitted for channel messages.
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.