DiscordLua
discorddiscord
v1.2.4
Install

GuildMemberFlags

Enum
On this page

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

Values

discord.GuildMemberFlags.DidRejoin
1 << 0
Did Rejoin. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.CompletedOnboarding
1 << 1
Completed Onboarding. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.BypassesVerification
1 << 2
Bypasses Verification. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.StartedOnboarding
1 << 3
Started Onboarding. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.IsGuest
1 << 4
Is Guest. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.StartedHomeActions
1 << 5
Started Home Actions. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.CompletedHomeActions
1 << 6
Completed Home Actions. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.AutomodQuarantinedUsername
1 << 7
Automod Quarantined Username. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.DmSettingsUpsellAcknowledged
1 << 9
Dm Settings Upsell Acknowledged. Use the symbolic name in bot code rather than the raw value.
discord.GuildMemberFlags.AutomodQuarantinedBio
1 << 10
Automod Quarantined Bio. Use the symbolic name in bot code rather than the raw value.

Usage

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

Example

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