{channel.send;<content>;[channel];[returnId]}
Sends a message to the channel.

Examples

Input
Output
1
{channel.send;Welcome to the thunder dome}
Copied!
1
Copied!
"Welcome to the thunder dome" would be sent to the context channel.
Input
Output
1
{channel.send;what;{channel.id};true}
Copied!
1
532902719531515905
Copied!
If the third argument is "true", the ID of the created message will be returned.
Input
Output
1
{channel.send;ayyy;off-topic}
Copied!
1
Copied!
This message would be sent to the #off-topic channel.
Last modified 4mo ago
Copy link