File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 29
29
30
30
31
31
class OpCodes (Enum ):
32
- identify = 0
33
- select_protocol = 1
34
- ready = 2
35
- heartbeat = 3
32
+ identify = 0
33
+ select_protocol = 1
34
+ ready = 2
35
+ heartbeat = 3
36
36
session_description = 4
37
- speaking = 5
38
- heartbeat_ack = 6
39
- resume = 7
40
- hello = 8
41
- resumed = 9
42
- client_connect = 10
43
- client_disconnect = 11
37
+ speaking = 5
38
+ heartbeat_ack = 6
39
+ resume = 7
40
+ hello = 8
41
+ resumed = 9
42
+ client_connect = 10
43
+ client_disconnect = 11
44
44
45
45
def __eq__ (self , other : object ) -> bool :
46
46
if isinstance (other , int ):
@@ -54,12 +54,12 @@ def __int__(self) -> int:
54
54
55
55
56
56
class ConnectionFlowState (Enum ):
57
- disconnected = 0
58
- set_guild_voice_state = 1
59
- got_voice_state_update = 2
57
+ disconnected = 0
58
+ set_guild_voice_state = 1
59
+ got_voice_state_update = 2
60
60
got_voice_server_update = 3
61
- got_both_voice_updates = 4
62
- websocket_connected = 5
63
- got_websocket_ready = 6
64
- got_ip_discovery = 7
65
- connected = 8
61
+ got_both_voice_updates = 4
62
+ websocket_connected = 5
63
+ got_websocket_ready = 6
64
+ got_ip_discovery = 7
65
+ connected = 8
You can’t perform that action at this time.
0 commit comments