v5.0.0
$onlyForServers
The command will only execute in the specified guild ids
This function will only execute if the current guild id matches with the specified guild ID
1
$onlyForServers[id1;id2;...;error when blocked]
Copied!
1
bot.command({
2
name: "special",
3
code: `Special Command
4
$onlyForServers[773352845738115102;:x: You can't run this command]`
5
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub