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

Let methods that require a populated cache throw exceptions #819

Open
felldo opened this issue Jul 21, 2021 · 1 comment
Open

Let methods that require a populated cache throw exceptions #819

felldo opened this issue Jul 21, 2021 · 1 comment
Labels
medium priority An issue or pull request with a medium priority

Comments

@felldo
Copy link
Member

felldo commented Jul 21, 2021

As already discussed here #816 (comment) we should throw an error when someone tries to use methods like getMembers and the cache is disabled because of the GUILD_MEMBERS intent or the cache has not been activated through new DiscordApiBuilder().setUserCacheEnabled(true)

@felldo felldo added the medium priority An issue or pull request with a medium priority label Jul 21, 2021
@felldo felldo added this to the Next Version milestone Jul 21, 2021
@felldo felldo removed this from the Next Version milestone Aug 29, 2021
@felldo
Copy link
Member Author

felldo commented Nov 4, 2022

This can be done together with #1184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium priority An issue or pull request with a medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant