Discord.py: Get User locale

Created on 5 Oct 2018  Â·  6Comments  Â·  Source: Rapptz/discord.py

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 https://github.com/discordapp/discord-api-docs/issues/535#issuecomment-392973019

stale

All 6 comments

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

I saw on another issue thread that we could see this data using a GET /user

Le ven. 5 oct. 2018 à 11:56, Arthur notifications@github.com a écrit :

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

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Rapptz/discord.py/issues/1644#issuecomment-427309874,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS23yxnvvBXQoMGF5CknfzmRvDaFj4Vlks5uhyzggaJpZM4XJ58T
.

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

Well that's not cool

Le ven. 5 oct. 2018 à 12:27, Danny notifications@github.com a écrit :

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

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Rapptz/discord.py/issues/1644#issuecomment-427317883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS23y0LyfwQPA7kz8Ohid4OcZWLbA7xXks5uhzP7gaJpZM4XJ58T
.

image
Pls why is this not used????

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yolotroll101 picture Yolotroll101  Â·  3Comments

Rimmy50 picture Rimmy50  Â·  3Comments

PicklesJars picture PicklesJars  Â·  3Comments

jzburda picture jzburda  Â·  3Comments

synbitz picture synbitz  Â·  3Comments