Bots receive GUILD_CREATE for every existing guild on connect

(#837) Bug Fixed api

Thread

Comment by Hampus
HampusStaff 1 vote originally by @hampus-fluxer on GitHub
So it turns out that there is one thing that Fluxer can do differently to make implementing this behaviour that other libraries have easier. Currently, it would require them doing a REST call to list the bot's guilds to know which ones to await. Fluxer matches Discord's behaviour with asynchronously sending GUILD_CREATEs, but bot libraries mask this due to the fact that Discord gives them all guild IDs for free in READY in guilds as unavailable guilds. Fluxer currently returns an empty array for bots. This is easily fixed, however, and will make doing the same thing here much easier for bot libraries on Fluxer, aligning perfectly with Discord.