$isNSFW

Returns whether the provided channel is NSFW (Not Safe For Work) or not.

“true” means the channel is NSFW, “false” means it isn’t.

Syntax

$isNSFW[Channel ID]

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel to check.

Example

$nomention
Is this channel NSFW?: `$isNSFW[$channelID]`
NSFW Channel 🤫 !example Is this channel NSFW?: true It's a main chat here! !example Is this channel NSFW?: false

What is this?

How $channelID works?