Use with_localizations
flag (#1196)
* Improve support for application command localizations Signed-off-by: GitHub <noreply@github.com> * Remove query string from bucket name Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com> * Fix formatting Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
This commit is contained in:
parent
e030c5fff8
commit
a7b7eaa2af
1 changed files with 1 additions and 1 deletions
|
@ -2814,7 +2814,7 @@ func (s *Session) ApplicationCommands(appID, guildID string) (cmd []*Application
|
|||
endpoint = EndpointApplicationGuildCommands(appID, guildID)
|
||||
}
|
||||
|
||||
body, err := s.RequestWithBucketID("GET", endpoint, nil, endpoint)
|
||||
body, err := s.RequestWithBucketID("GET", endpoint+"?with_localizations=true", nil, endpoint)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue