UserFlags
EnumOn this page
discord.UserFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.UserFlags.Staff1 << 0Staff. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.Partner1 << 1Partner. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.Hypesquad1 << 2Hypesquad. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.BugHunterLevel11 << 3Bug Hunter Level1. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.HypesquadOnlineHouse11 << 6Hypesquad Online House1. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.HypesquadOnlineHouse21 << 7Hypesquad Online House2. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.HypesquadOnlineHouse31 << 8Hypesquad Online House3. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.PremiumEarlySupporter1 << 9Premium Early Supporter. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.TeamPseudoUser1 << 10Team Pseudo User. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.BugHunterLevel21 << 14Bug Hunter Level2. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.VerifiedBot1 << 16Verified Bot. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.VerifiedDeveloper1 << 17Verified Developer. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.CertifiedModerator1 << 18Certified Moderator. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.BotHTTPInteractions1 << 19Bot HTTPInteractions. Use the symbolic name in bot code rather than the raw value.
discord.UserFlags.ActiveDeveloper1 << 22Active Developer. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.UserFlags.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.UserFlags.Staff)