$channelNSFW
$channelNSFW
will return true or false depending if the given channel is marked as NSFW or not.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | ID of the channel you want to check whether it’s marked as NSFW or not. | false |
Example(s)
This will return either true
or false
depending on if the channel where you execute the command is marked as NSFW or
not: