DiscordLua
discorddiscord
v1.2.4
Install

GuildVerificationLevel

Enum
On this page

discord.GuildVerificationLevel lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.GuildVerificationLevel.None
0
None. Use the symbolic name in bot code rather than the raw value.
discord.GuildVerificationLevel.Low
1
Low. Use the symbolic name in bot code rather than the raw value.
discord.GuildVerificationLevel.Medium
2
Medium. Use the symbolic name in bot code rather than the raw value.
discord.GuildVerificationLevel.High
3
High. Use the symbolic name in bot code rather than the raw value.
discord.GuildVerificationLevel.VeryHigh
4
Very High. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.GuildVerificationLevel.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.GuildVerificationLevel.None)
Search Ctrl K Navigate Open Esc