Functionalities
Other
Powered By GitBook
$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.
    DISABLED
    2.
    MEMBERS_WITHOUT_ROLES
    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.
1
bot.Command({
2
name: "server",
3
code: `
4
Content Filter: $guildContentFilter
5
`
6
})
Copied!
Example 2: Returns the explicit content filter of the provided guild ID. Bot must be in the guild of the provided guild ID.
1
bot.Command({
2
name: "server",
3
code: `
4
Content Filter: $guildContentFilter[743438202005618747]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link