1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-13 00:45:11 +00:00
arikawa/discord
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
..
auditlog.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
channel.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
discord.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
emoji.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
guild.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
guild_consts.go API: rename ServiceX constants to XService 2020-11-22 09:14:07 -08:00
invite.go Discord: fix #83 2020-05-17 10:34:47 -07:00
message.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
message_embed.go make all error messages lowercase 2020-05-16 23:14:49 +02:00
permission.go Discord: Fixed redundant and broken OverwriteType 2020-10-28 14:49:30 -07:00
snowflake.go Discord: Add Sticker (#167) 2020-11-21 08:35:19 -08:00
snowflake_test.go Discord: Uint64 typed Snowflakes (#132) 2020-07-29 16:58:33 -07:00
time.go Discord: Rename Snowflake and Timestamp Valid methods (#128) 2020-07-29 16:58:33 -07:00
url.go
user.go Gateway: Refactor, v8 user struct updates 2020-11-28 17:22:03 -08:00
voice.go Discord: optimize struct sizes; add missing fields 2020-11-22 09:16:24 -08:00
webhook.go *: Add typed Snowflake IDs (#122) 2020-07-29 16:58:33 -07:00