$useChannel
Sends the executed command to the defined channel.

FUNCTION USAGE

  • $useChannel[channelID]

Property:

channelID - The ID of the channel to send the executed the command to.

Example:

1
bot.Command({
2
name: "test",
3
code: `
4
$noMentionMessage
5
$useChannel[$mentionedChannels[1]]
6
7
$onlyIf[$mentionedChannels[1]!=;You must mention a valid channel!
8
$onlyIf[$noMentionMessage[]!=;You must provide a valid message!]`
9
})
Copied!
Last modified 6mo ago
Copy link
Contents
Property: