Skip to content

A proper way of knowing why GUILD_CREATE was fired #4711

Discussion options

You must be logged in to vote

expected guilds are listed in the READY event (with unavailable:true) iirc, before they are dispatched as full GUILD_CREATEs as they get connected to your session, so I think you can differentiate with that? any GUILD_CREATEs you get that aren't part of the initial list are new joins, as of that session anyway. if you wanted to handle joins that happened while you were offline for some reason, you could compare your member joined_at timestamp i think.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by izxxr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants