$isNSFW

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

Info

“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]`
!example Is this channel NSFW?: true !example Is this channel NSFW?: false

What is this?

How $channelID works?