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
preferred_locale
When using an interaction, the Guild object does not contain the preferred_locale property, but instead has locale.
locale
Originally reported at discord-jda/JDA#2633 (comment)
The Guild object should have the preferred_locale property, which is the same as the one used in GUILD_CREATE gateway events, and is documented
GUILD_CREATE
It uses a locale property instead
JDA 5.0.0-beta.24 (c0cff23e36)
The text was updated successfully, but these errors were encountered:
Copy guild_locale to the preferred_locale of the Guild object
guild_locale
423300a
Workaround for discord/discord-api-docs#6938
a651c92
351cb3f
59b4329
ca8c6c0
No branches or pull requests
Description
When using an interaction, the Guild object does not contain the
preferred_locale
property, but instead haslocale
.Originally reported at discord-jda/JDA#2633 (comment)
Steps to Reproduce
preferred_locale
, butlocale
insteadExpected Behavior
The Guild object should have the
preferred_locale
property, which is the same as the one used inGUILD_CREATE
gateway events, and is documentedCurrent Behavior
It uses a
locale
property insteadScreenshots/Videos
Client and System Information
JDA 5.0.0-beta.24 (c0cff23e36)
The text was updated successfully, but these errors were encountered: