1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-11 16:05:00 +00:00
arikawa/gateway/shard
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
..
manager.go shard: Separate state's cabinet, fix return bugs 2021-10-31 13:10:34 -07:00
shard.go shard: Separate state's cabinet, fix return bugs 2021-10-31 13:10:34 -07:00