forked from pothtonswer/discordmuffin
Rename GuildEmoji to GuildEmojis
This commit is contained in:
parent
f193d81d83
commit
4738844e34
1 changed files with 2 additions and 2 deletions
|
@ -1309,9 +1309,9 @@ func (s *Session) GuildAuditLog(guildID, userID, beforeID string, actionType, li
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// GuildEmoji returns all emoji
|
// GuildEmojis returns all emoji
|
||||||
// guildID : The ID of a Guild.
|
// guildID : The ID of a Guild.
|
||||||
func (s *Session) GuildEmoji(guildID string) (emoji []*Emoji, err error) {
|
func (s *Session) GuildEmojis(guildID string) (emoji []*Emoji, err error) {
|
||||||
|
|
||||||
body, err := s.RequestWithBucketID("GET", EndpointGuildEmojis(guildID), nil, EndpointGuildEmojis(guildID))
|
body, err := s.RequestWithBucketID("GET", EndpointGuildEmojis(guildID), nil, EndpointGuildEmojis(guildID))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue