v5.0.0
$channelSendMessage
Sends a message to given Channel ID
This function allows you to send a message in the channel you selected previously.

Fields

This function has 2 required fields
  1. 1.
    Channel ID (Required)
  2. 2.
    Message (Required)
  3. 3.
    Return messageID (Optional)
Raw Usage: $channelSendMessage[channelID;message;returnMessageID (yes/no) (optional)]

Options

  • 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

Usage

Without the optional field
1
bot.command({
2
name: "send",
3
code: `$channelSendMessage[Channel ID;$message]`
4
});
Copied!
With the optional field
1
bot.command({
2
name: "send",
3
code: `$channelSendMessage[Channel ID;$message;yes]`
4
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub