$channelNSFW
$channelNSFW
will return true or false depending if the given channel is marked as NSFW or not.
Usage
$channelNSFW[channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | ID of the channel you want to check if its 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:
1client.command({2 name: "channelNSFW",3 code: `4 $channelNSFW[$channelID]5 `6});