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

@discordjs/core is missing with_counts on guilds.get #10039

Open
xPolar opened this issue Dec 8, 2023 · 2 comments · May be fixed by #10052
Open

@discordjs/core is missing with_counts on guilds.get #10039

xPolar opened this issue Dec 8, 2023 · 2 comments · May be fixed by #10052

Comments

@xPolar
Copy link

xPolar commented Dec 8, 2023

Which package is this bug report for?

core

Issue description

guilds.get doesn't have support for with_counts

Code sample

Link To Code

Versions

@disordjs/core master

Issue priority

Medium (should be fixed soon)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

I have tested this issue on a development release

No response

@JMTK
Copy link
Contributor

JMTK commented Dec 14, 2023

Would there be a way to use this to get counts on all guilds at startup or is that not recommended to do?

@Jiralite
Copy link
Member

To the best of my knowledge, there is no way to get the approximations over the WebSocket. You have to fetch them via REST.

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

Successfully merging a pull request may close this issue.

4 participants