[REQUEST] Command localization #511
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
priority
This Issue/PR must be resolved first before accepting any others
What is the feature you're proposing?
With the
name_localizations
anddescription_localizations
fields for anApplictionCommand
object currently being exposed from the Web API and Gateway event data, it would be nice in terms of user experience for bot developers to be able to specify the translated locale of their commands when a user has their locale set to a specific language and/or region.This would be the suggested implementation:
The new suggested data model,
interactions.Locale
would be astr, Enum
metaclassed object with names representing the official Discord locale list.Additional Information
The text was updated successfully, but these errors were encountered: