$channelType
Allows you to comment on your code, without the text being included in the bot's response.
Usage
$channelType[channelID]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$channelType[$channelID]` //Returns the current channel's type
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$channelType[$findChannel[$message]]` //Returns the channel type of the provided channel
})Last updated
Was this helpful?