Functionalities
Functions
Data
Other
$guildContentFilter
Returns the explicit content filter of the current guild or a specific guild the bot is in.

FUNCTION USAGE

  • $guildContentFilter
  • $guildContentFilter[]
  • $guildContentFilter[guildID]

Properties:

[] - Leave brackets empty to return the explicit content filter of the current guild. Same as no brackets. guildID - Supplying a specific guild ID will get the explicit content filter of that server.

Results:

  1. 1.
    DISABLED
  2. 2.
    MEMBERS_WITHOUT_ROLES
  3. 3.
    ALL_MEMBERS
Bot must be in the guild you are checking to read that data!
Example 1: Returns the explicit content filter of this guild.
bot.Command({
name: "server",
code: `
Content Filter: $guildContentFilter
`
})
Example 2: Returns the explicit content filter of the provided guild ID. Bot must be in the guild of the provided guild ID.
bot.Command({
name: "server",
code: `
Content Filter: $guildContentFilter[743438202005618747]
`
})
Copy link
Outline