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:
parent
ee32e54bff
commit
ac83d0b824
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue