Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Oct 6, 2024
1 parent 749c2a2 commit 74b415f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions restapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ func (s *Session) GuildEmojiDelete(guildID, emojiID string, options ...RequestOp

// ApplicationEmojis returns all emojis for the given application
// appID : ID of the application
func (s *Session) ApplicationEmojis(appID string, options ...RequestOption) (emoji []*Emoji, err error) {
func (s *Session) ApplicationEmojis(appID string, options ...RequestOption) (emojis []*Emoji, err error) {
body, err := s.RequestWithBucketID("GET", EndpointApplicationEmojis(appID), nil, EndpointApplicationEmojis(appID), options...)
if err != nil {
return
Expand All @@ -1471,7 +1471,7 @@ func (s *Session) ApplicationEmojis(appID string, options ...RequestOption) (emo
return
}

emoji = temp.Items
emojis = temp.Items
return
}

Expand Down

0 comments on commit 74b415f

Please sign in to comment.