1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-01 04:24:19 +00:00
arikawa/0-examples
diamondburned d8438f3b51
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-09 18:31:06 -08:00
..
buttons discord: Refactor interactions and components 2021-11-09 18:31:06 -08:00
commands discord: Refactor interactions and components 2021-11-09 18:31:06 -08:00
sharded example: Rename _example to 0-examples 2021-11-09 15:56:51 -08:00
simple example: Rename _example to 0-examples 2021-11-09 15:56:51 -08:00
undeleter example: Rename _example to 0-examples 2021-11-09 15:56:51 -08:00