v5.0.0
$onlyForChannels
Allows the command to be only executable in the given channel
This function only allows the command to be ran in the specified channels
1
$onlyForChannels[channelID;channelID;...;error when not in given channels]
Copied!
1
bot.command({
2
name: "special",
3
code: `Special Command
4
$onlyForChannels[773353953269252127;:x: Command not executable here]`
5
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub