ActivityFlags
EnumOn this page
discord.ActivityFlags lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.ActivityFlags.Instance1 << 0Instance. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.Join1 << 1Join. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.Spectate1 << 2Spectate. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.JoinRequest1 << 3Join Request. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.Sync1 << 4Sync. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.Play1 << 5Play. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.PartyPrivacyFriends1 << 6Party Privacy Friends. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.PartyPrivacyVoiceChannel1 << 7Party Privacy Voice Channel. Use the symbolic name in bot code rather than the raw value.
discord.ActivityFlags.Embedded1 << 8Embedded. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.ActivityFlags.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.ActivityFlags.Instance)