We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using yarl for adding params to the oauth url.
The core library
If anything goes wrong with wrong params atleast it gives an error and does not just return it. Also right now there are a lot of if calls after eachother while it can be fixed with 1 function. https://github.com/DisnakeDev/disnake/blob/master/disnake/utils.py#L322-L332
You use yarl.URL("standard oauth url").with_query(params) or yarl.build().
yarl.URL("standard oauth url").with_query(params)
yarl.build()
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Using yarl for adding params to the oauth url.
What is the feature request for?
The core library
The Problem
If anything goes wrong with wrong params atleast it gives an error and does not just return it. Also right now there are a lot of if calls after eachother while it can be fixed with 1 function.
https://github.com/DisnakeDev/disnake/blob/master/disnake/utils.py#L322-L332
The Ideal Solution
You use
yarl.URL("standard oauth url").with_query(params)
oryarl.build()
.The Current Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: