You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was seemingly fixed before, but I've noticed it happening again recently. I can't seem to reliably reproduce it but after running my bot for a certain amount of time, it'll pop up as an uncaught exception. I'm not 100% sure if it's directly related to Stickers only or it just happens to happen with stickers. Seems to be happening with emojis as well. I double checked all my guilds to see if they had those properties and they did, so it seems to be a timing issue.
Seems like an unavailable Guild. Sweepers should probably check the guild.available flag before trying to sweep it or have a ?? {} fallback for guild[key] in the referenced line.
Unfortunately I don't have a great way to confirm that it's because of guild unavailable. Is there are reason those properties wouldn't be set if it's unavailable? Looking at the code for stickers
Which package is this bug report for?
discord.js
Issue description
This was seemingly fixed before, but I've noticed it happening again recently. I can't seem to reliably reproduce it but after running my bot for a certain amount of time, it'll pop up as an uncaught exception.
I'm not 100% sure if it's directly related to Stickers only or it just happens to happen with stickers.Seems to be happening with emojis as well. I double checked all my guilds to see if they had those properties and they did, so it seems to be a timing issue.Code sample
Versions
discord.js: 14.14.1
node: 21.4.0
Issue priority
Medium (should be fixed soon)
Which partials do you have configured?
User, Channel, GuildMember, Message
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildVoiceStates, GuildPresences, GuildMessages, DirectMessages, MessageContent
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: