From ac83d0b82439f0e1d0cc2e50ea674bb31d62b121 Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Fri, 8 May 2020 00:57:49 +0200 Subject: [PATCH] API: remove unused ErrEmojiTooLarge variable --- api/emoji.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api/emoji.go b/api/emoji.go index 13c7766..4564f12 100644 --- a/api/emoji.go +++ b/api/emoji.go @@ -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