Skip to content

$guildMFALevel

$guildMFALevel will return the guild’s MFA Level.

Usage

$guildMFALevel[guildID?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe ID of the guild.false
Type
0Guild has MFA/2FA requirement for moderation actions disabled
1Guild has MFA/2FA requirement for moderation actions

Example(s)

This will return the guild’s MFA Level:

1
client.command({
2
name: "guildMFALevel",
3
code: `
4
$guildMFALevel[$guildID]
5
`
6
});