Closed Instinzts closed 2 years ago
That bug is a side-effect that may happen if you disable, or set a very low limit, to the RoleManager
cache.
The library assumes the role cache always includes the @everyone role, statement that is no longer valid if you disabled the associated cache.
Limiting cache capacities is something that must be done with careful precaution and advanced testing, and should only be done if necessary anyway.
Issue description
Code sample
discord.js version
13.2.0
Node.js version
v16.11.0
Operating system
Windows 10
Priority this issue should have
High (immediate attention needed)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
GUILDS, GUILD_MEMBERS
I have tested this issue on a development release
No response