Enum
GatewayOpcodes
Gateway opcodes sent by the Fluxer gateway.
Dispatch— event dispatch (t = event name, d = event data)Heartbeat— heartbeat ping/pongIdentify— identify connection (initial handshake)PresenceUpdate— update presence (status, activity, custom status)VoiceStateUpdate— update voice state (join/leave/mute/deaf)VoiceServerPing— ping voice serverResume— resume connection after disconnectReconnect— server requests reconnectRequestGuildMembers— request guild members chunkInvalidSession— session invalid, re-identifyHello— server hello (heartbeat_interval)HeartbeatAck— heartbeat acknowledgedGatewayError— gateway errorLazyRequest— lazy load guilds/channelsRequestGuildCounts— request guild member/online countsRequestChannelMemberCounts— request per-channel member counts
Members
| Name | Value |
|---|---|
| Dispatch | 0 |
| Heartbeat | 1 |
| Identify | 2 |
| PresenceUpdate | 3 |
| VoiceStateUpdate | 4 |
| VoiceServerPing | 5 |
| Resume | 6 |
| Reconnect | 7 |
| RequestGuildMembers | 8 |
| InvalidSession | 9 |
| Hello | 10 |
| HeartbeatAck | 11 |
| GatewayError | 12 |
| LazyRequest | 14 |
| RequestGuildCounts | 15 |
| RequestChannelMemberCounts | 16 |