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

Remove usage of token from environment in Nostrum.Api.Base #546

Closed
jchristgit opened this issue Apr 19, 2024 · 0 comments · Fixed by #593
Closed

Remove usage of token from environment in Nostrum.Api.Base #546

jchristgit opened this issue Apr 19, 2024 · 0 comments · Fixed by #593
Assignees

Comments

@jchristgit
Copy link
Collaborator

Find a way to pass in the bot token from other sources than the application
environment without requiring users to update all their API calls.

This will be more complicated than #545. I think that the only clean way to
implement this is to add the API token as a parameter to each call in
Nostrum.Api. I can't imagine a clean other way to do it.

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.

1 participant