1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-16 11:54:29 +00:00

API: remove unused ErrEmojiTooLarge variable

This commit is contained in:
mavolin 2020-05-08 00:57:49 +02:00
parent ee32e54bff
commit ac83d0b824
No known key found for this signature in database
GPG key ID: D8681218EDF216DF

View file

@ -1,8 +1,6 @@
package api
import (
"errors"
"github.com/diamondburned/arikawa/discord"
"github.com/diamondburned/arikawa/utils/httputil"
)
@ -34,10 +32,6 @@ func (c *Client) Emoji(
EndpointGuilds+guildID.String()+"/emojis/"+emojiID.String())
}
var (
ErrEmojiTooLarge = errors.New("Emoji is larger than 256k")
)
// CreateEmoji creates a new emoji in the guild. This endpoint requires
// MANAGE_EMOJIS. ContentType must be "image/jpeg", "image/png", or
// "image/gif". However, ContentType can also be automatically detected