Enums

discord_http.gateway.enums module

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

Bases: BaseEnum

competing = 5
custom = 4
listening = 2
playing = 0
streaming = 1
watching = 3
class discord_http.gateway.enums.PayloadType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseEnum

dispatch = 0
guild_sync = 12
heartbeat = 1
heartbeat_ack = 11
hello = 10
identify = 2
invalidate_session = 9
presence = 3
reconnect = 7
request_guild_members = 8
resume = 6
voice_ping = 5
voice_state = 4
class discord_http.gateway.enums.PollVoteActionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseEnum

add = 0
remove = 1
class discord_http.gateway.enums.ShardCloseType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseEnum

invalid_session = 2
reconnect = 1
resume = 0
class discord_http.gateway.enums.StatusType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: BaseEnum

dnd = 3
idle = 2
offline = 0
online = 1
streaming = 4