arikawa/gateway
Hamza Ali 34a7c3ba2e
gateway: Skip unknown events while reconnecting (#255)
This change skips events that are unknown while the bot reconnects. This
is an event that is particularly rare as it requires unimplemented
events being called in the time before a bot's HELLO -> RESUME events
are called. This change explicitly returns unknown events as a special
time defined in wsutil/op.go and ignores them from reaching gateway/op.go
2021-10-27 20:16:03 -07:00
..
commands.go Gateway: Better Activities type for UpdateStatusData 2021-02-07 17:03:12 -08:00
events.go gateway: fix Joined field in GuildCreateEvent (#193) 2021-04-11 16:56:05 -07:00
events_map.go Discord: Add basic support for slash commands 2021-01-27 10:44:14 -08:00
gateway.go gateway: Skip unknown events while reconnecting (#255) 2021-10-27 20:16:03 -07:00
identify.go Gateway: Made Shard field empty for default 2020-12-30 23:43:08 -08:00
integration_test.go Gateway: Test Reconnect error 2021-04-07 11:42:13 -07:00
intents.go replace usage of discordapp.com with discord.com in docs 2020-11-03 10:14:53 -08:00
intents_map.go Gateway: Added an Event to Intents map for convenience 2020-10-28 19:44:04 -07:00
op.go gateway: Skip unknown events while reconnecting (#255) 2021-10-27 20:16:03 -07:00
perseverance_test.go CI: Add perseverance test for Gateway 2020-12-31 23:48:29 -08:00
ready.go Gateway: Rename MessageNotifications to Notifications for consistency 2020-12-19 19:22:35 -08:00