1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-01 03:03:48 +00:00
arikawa/gateway
diamondburned 6ef093eb98 Gateway: Refactor, v8 user struct updates
This commit refactored several structures from package discord to be in
package gateway. Those structures are mostly presence ones, which per
official documentation has a lot more to do with the Gateway API than
the REST API or anything else.

This commit also renamed several global variables to have a more
consistent and obvious name.

As of v8, the user API has had a lot of minor and some major changes,
especially regarding its Ready event API. The most significant change is
the addition of the ReadySupplemental event as well as several changes
to the Ready field itself.

All of these changes above are breaking, and they have already broken
the state package. These breaking changes will be addressed in other
packages by the next commit.
2020-11-28 17:22:03 -08:00
..
commands.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
events.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
events_map.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
gateway.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
identify.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
integration_test.go Gateway: Added missing intents in tests 2020-10-30 12:00:41 -07:00
intents.go replace usage of discordapp.com with discord.com in docs 2020-11-03 10:14:53 -08:00
intents_map.go
op.go
ready.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00