DiscordLua
discorddiscord
v1.2.4
Install

GuildOnboardingMode

Enum
On this page

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

Values

discord.GuildOnboardingMode.OnboardingDefault
0
Onboarding Default. Use the symbolic name in bot code rather than the raw value.
discord.GuildOnboardingMode.OnboardingAdvanced
1
Onboarding Advanced. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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