v5.0.0
$channelNSFW
Returns True or False, if the channel is NSFW. Will return for current channel if no id is given
With this function you can show some information about the channel you want, this specific function will return true or false depending on whether the channel is marked as NSFW.

Usage

This function has 1 field
  1. 1.
    Channel ID (Optional)
Raw Usage: $channelNSFW[channelID (optional)

Options

  • Channel ID - The channel we're checking to see if its NSFW or not
1
bot.command({
2
name: "NSFW",
3
code: `
4
Is the channel <#$mentionedChannels[1;yes]> NSFW?
5
$channelNSFW[$mentionedChannels[1;yes]]
6
`
7
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub