$onlyNSFW

Only allows the command to be executed in NSFW channels.

Usage

$onlyNSFW[errorMessage]

Parameters

  • errorMessage (Type: String || Flag: Emptiable): The message that is returned when the command is executed outside of an NSFW channel.

Example

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