[ws] Accessing list of unavailable guilds when shard turns ready
In @discordjs/ws, how am i supposed to access the list of unavailable guilds after a shard becomes ready? The ready event on WebSocketShard is hidden away and the ready even on WebSocketManager doesnt supply me with the data i want. The reason i want the list of unavailable guilds is so that i can use these when receiving GUILD_CREATEs to know whether something is a new guild or simply a guild becoming available
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.(
@discordjs/ws 0.3.0
)
Oh i see now that there was a patch to fix exactly this issue yesterday, ill try that out!
Well, reopening this because the package is broken installing any of the latest 5 or so dev releases gives me this
moved to github
https://github.com/discordjs/discord.js/issues/8719
GitHub
Error loading @discordjs/ws package on latest dev version · Issue #...
Which package is this bug report for? ws Issue description install @discordjs/[email protected] Import the package Observe crash Code sample const ws = require("@discordjs/...