$onlyNSFW

Only allows the command to be executed in NSFW channels.

Usage

$onlyNSFW[errorMessage]

Breakdown

  • errorMessage - The message that is returned when the command is executed outside of a NSFW channel.

Example

$nomention
$onlyNSFW[❌ That command can only be used in NSFW channels.]
$c[Put your code here.]