nsfw

val nsfw: Boolean = false(source)

Specifies whether the application command is usable in NSFW channels.

Note: NSFW commands need to be enabled by the user to appear in DMs.

See the Age-Restricted Commands FAQ for more details.

Default: false

Return

true if the command is restricted to NSFW channels

See also

TopLevelSlashCommandBuilder.nsfw

DSL equivalent