Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway: Split GuildCreateEvent #116

Merged
merged 4 commits into from Jun 6, 2020
Merged

Gateway: Split GuildCreateEvent #116

merged 4 commits into from Jun 6, 2020

Conversation

mavolin
Copy link
Contributor

@mavolin mavolin commented Jun 6, 2020

Closes #113.

utils/moreatomic/snowflake_set.go Show resolved Hide resolved
handler/handler.go Show resolved Hide resolved
// unreadyGuilds is a set of discord.Snowflakes of guilds that were
// unavailable when connecting to the gateway, i.e. they had Unavailable
// set to true during Ready.
unreadyGuilds *moreatomic.SnowflakeSet
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be moved to state? This does count as storing something, so session is a bad place to put it.

@diamondburned diamondburned merged commit de3d0e2 into diamondburned:master Jun 6, 2020
@mavolin mavolin deleted the 113-guild-events branch July 29, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gateway: Split GuildCreateEvent
2 participants