1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-19 16:40:29 +00:00
arikawa/gateway
diamondburned 7f4daccd2d
shard: Separate state's cabinet, fix return bugs
This commit makes it so that all sharded state.State instances will have
its own cabinet store on construction. This ensures that when a State is
reconnected, a Ready event won't wipe the cabinet for all other states.

This commit also fixes a bug with the Shard() and FromGuildID() getters.
2021-10-31 13:10:34 -07:00
..
shard shard: Separate state's cabinet, fix return bugs 2021-10-31 13:10:34 -07:00
commands.go api: Threads (#257) 2021-08-08 13:19:15 -07:00
events.go discord: Add per-guild avatars, ModifyMe -> ModifyCurrentUser (#278) 2021-09-28 11:46:36 -07:00
events_map.go discord: Update to match current API docs (#277) 2021-09-23 21:37:50 -07:00
gateway.go gateway: Fix Context overwrite in Gateway.Open (#285) 2021-10-20 15:06:06 -07:00
identify.go gateway: Change type of IdentifyData.Intents to option.Uint (#275) 2021-09-09 18:45:08 -07:00
integration_test.go shard: Remake shard manager (#226) 2021-06-14 15:22:55 -07:00
intents.go shard: Remake shard manager (#226) 2021-06-14 15:22:55 -07:00
op.go gateway: Skip unknown events while reconnecting (#255) 2021-08-03 18:00:31 -07:00
perseverance_test.go *: Migrated Go Modules to v3 2021-06-01 19:59:01 -07:00
ready.go api: Threads (#257) 2021-08-08 13:19:15 -07:00