v5.0.0
$onlyNSFW
Allows command to be ran in only NSFW marked channel
This function only allows the command to be ran in NSFW marked channels
1
$onlyNSFW[error when ran in non-nsfw channel]
Copied!
1
bot.command({
2
name: "special",
3
code: `Special Command
4
$onlyNSFW[Command only executable in NSFW channels!]`
5
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub