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

Get User locale #1644

Closed
Foxlider opened this issue Oct 5, 2018 · 6 comments
Closed

Get User locale #1644

Foxlider opened this issue Oct 5, 2018 · 6 comments
Labels
stale This issue is too old.

Comments

@Foxlider
Copy link

Foxlider commented Oct 5, 2018

Is there a way since rewrite to get the user's locale ?
It might be useful to get it to know what language the bot should speak in presence of a user.
There is an issue opened in the discord docs though discord/discord-api-docs#535 (comment)

@paris-ci
Copy link
Contributor

paris-ci commented Oct 5, 2018

Not possible. That's an oauth scope, and that means that bot can only get their own language (en-US)

@Foxlider
Copy link
Author

Foxlider commented Oct 5, 2018 via email

@Rapptz
Copy link
Owner

Rapptz commented Oct 5, 2018

This is only available via OAuth2, which is currently outside of the scope of the library.

@Foxlider
Copy link
Author

Foxlider commented Oct 5, 2018 via email

@Rapptz Rapptz closed this as completed Feb 15, 2019
@Rapptz Rapptz added the stale This issue is too old. label Feb 15, 2019
@Shuvi-Hub
Copy link

image
Pls why is this not used????

@Rapptz
Copy link
Owner

Rapptz commented Jun 17, 2020

Answer remains the same as it was 2 years ago. Please don't bump issues.

Repository owner locked and limited conversation to collaborators Jun 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale This issue is too old.
Projects
None yet
Development

No branches or pull requests

4 participants