1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-02 07:18:49 +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
intents.go
op.go gateway: Skip unknown events while reconnecting (#255) 2021-08-03 18:00:31 -07:00
perseverance_test.go
ready.go state, handler: Refactor state storage and sync handlers 2021-11-03 15:16:02 -07:00