1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-11 07:54:58 +00:00
arikawa/gateway
diamondburned 331ec59dec discord: Refactor interactions and components
This commit gets rid of contain-it-all structs and instead opt for
interface union types containing underlying concrete types with no
overloading.

The code is much more verbose by doing this, but the API is much nicer
to use. The only disadvantage in that regard is the interface assertion
being too verbose and risky for users at times.
2021-11-12 11:38:36 -08: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: Refactor interactions and components 2021-11-12 11:38:36 -08:00
events_map.go discord: Update to match current API docs (#277) 2021-09-23 21:37:50 -07:00
gateway.go discord: Refactor interactions and components 2021-11-12 11:38:36 -08:00
identify.go gateway: Add ClientState and Capabilities for Identify 2021-11-03 15:29:29 -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 state, handler: Refactor state storage and sync handlers 2021-11-03 15:16:02 -07:00