You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoints "Get Global Application Commands" and "Get Guild Application Commands", which are implemented in (*Session).ApplicationCommands(string, string), don't return name_localizations and description_localizations by default, as described in the Discord Docs. Instead, those endpoints supply name_localized and description_localized, which only contain one localization based on the request. The full name_localizations and description_localizations can only be obtained by supplying with_localizations=true in the query string.
As far as I know this is not currently possible with DiscordGo. Furthermore name_localized and description_localized aren't accessible with the current ApplicationCommand struct.
The text was updated successfully, but these errors were encountered:
The endpoints "Get Global Application Commands" and "Get Guild Application Commands", which are implemented in
(*Session).ApplicationCommands(string, string)
, don't returnname_localizations
anddescription_localizations
by default, as described in the Discord Docs. Instead, those endpoints supplyname_localized
anddescription_localized
, which only contain one localization based on the request. The fullname_localizations
anddescription_localizations
can only be obtained by supplyingwith_localizations=true
in the query string.As far as I know this is not currently possible with DiscordGo. Furthermore
name_localized
anddescription_localized
aren't accessible with the currentApplicationCommand
struct.The text was updated successfully, but these errors were encountered: