Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show correct guild count in /debug about #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FloatingMilkshake
Copy link

/debug about's guild count is currently capped at 200. I assume this is a limitation of Client.guilds.fetch(), based on the fact that the optional limit parameter for FetchGuildsOptions seems to have a maximum value of 200 (see https://discord.js.org/docs/packages/discord.js/14.14.1/FetchGuildsOptions:Interface#limit).

As far as I can tell, it is officially recommended by Discord.js maintainers to get the size of Client.guilds.cache instead. You also already do that for the bot's custom status message and... somewhere else that I can't remember. So this makes things consistent too! :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant