Functionalities
Other
Powered By GitBook
$guildVerificationLvl
Returns the guild's verification level or a specific guild the bot is in. Returns `undefined` if no guild is found.

FUNCTION USAGE

    $guildVerificationLvl
    $guildVerificationLvl[]
    $guildVerificationLvl[guildID]

Properties:

[] - Leave brackets empty to get the verification level of the current guild. Same as no brackets. guildID - Supplying a specific guild ID will get the verification level of that guild.

Results:

    1.
    NONE
    2.
    LOW
    3.
    MEDIUM
    4.
    HIGH
    5.
    VERY_HIGH
Bot must be in the guild you are checking to read that data!

Example 1: Returns the verification level of this guild.

1
bot.Command({
2
name: "server",
3
code: `
4
Verification Level for this guild: $guildVerificationLvl
5
`
6
})
Copied!

Example 2: Returns the verification level 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
Verification Level for this guild: $guildVerificationLvl[743438202005618747]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link