Flags

discord_http.gateway.flags module

class discord_http.gateway.flags.ActivityFlags(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseFlag

embedded = 256
instance = 1
join = 2
join_request = 8
party_privacy_friends = 64
party_privacy_voice_channel = 128
play = 32
spectate = 4
sync = 16
class discord_http.gateway.flags.GatewayCacheFlags(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseFlag

channels = 4503599627370496
emojis = 36028797018963968
guilds = 1125899906842624
members = 2251799813685248
partial_channels = 4
partial_emojis = 32
partial_guilds = 1
partial_members = 2
partial_roles = 16
partial_stickers = 64
partial_threads = 8
partial_voice_states = 128
presences = 1267650600228229401496703205376
roles = 18014398509481984
stickers = 72057594037927936
threads = 9007199254740992
voice_states = 144115188075855872
class discord_http.gateway.flags.Intents(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseFlag

auto_moderation_configuration = 1048576
auto_moderation_execution = 2097152
direct_message_polls = 33554432
direct_message_reactions = 8192
direct_message_typing = 16384
direct_messages = 4096
guild_expressions = 8
guild_integrations = 16
guild_invites = 64
guild_members = 2
guild_message_polls = 16777216
guild_message_reactions = 1024
guild_message_typing = 2048
guild_messages = 512
guild_moderation = 4
guild_presences = 256
guild_scheduled_events = 65536
guild_voice_states = 128
guild_webhooks = 32
guilds = 1
message_content = 32768