description |
---|
Sends a message to given Channel ID |
This function allows you to send a message in the channel you selected previously.
This function has 2 required fields
- Channel ID (Required)
- Message (Required)
- Return messageID (Optional)
Raw Usage: $channelSendMessage[channelID;message;returnMessageID (yes/no) (optional)]
- Channel ID - The channel the message is being sent
- Message - The message that's being sent
- Message ID - The ID of the message thats being sent
Without the optional field
bot.command({
name: "send",
code: `$channelSendMessage[Channel ID;$message]`
});
With the optional field
bot.command({
name: "send",
code: `$channelSendMessage[Channel ID;$message;yes]`
});