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

Throw an exception when a method is accessed that requires a specific intent #1184

Open
felldo opened this issue Nov 4, 2022 · 0 comments
Open
Labels
✨ feature request New feature or request

Comments

@felldo
Copy link
Member

felldo commented Nov 4, 2022

What feature are you proposing?

Since intents cannot be changed once you have a logged in a DiscordApi instance, it is safe to throw exceptions when calling a method that requires a specific intent to work . This can be done safely in a way that we do not have to change the signature of these methods or our architecture in general to comply with this new behavior.

Do you have any additional material for your feature proposal?

No response

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

No branches or pull requests

1 participant