From ab140686c26d9e9fa96cce9e250252450b5ba17e Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Tue, 12 May 2020 02:17:45 +0200 Subject: [PATCH] API: rename NewEmoji to NewCustomEmoji --- api/emoji.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/emoji.go b/api/emoji.go index b0f94db..461e570 100644 --- a/api/emoji.go +++ b/api/emoji.go @@ -8,10 +8,10 @@ import ( // Emoji is the API format of a regular Emoji, both Unicode or custom. type Emoji = string -// NewEmoji creates a new Emoji using a custom guild emoji as +// NewCustomEmoji creates a new Emoji using a custom guild emoji as // base. // Unicode emojis should be directly passed to the function using Emoji. -func NewEmoji(id discord.Snowflake, name string) Emoji { +func NewCustomEmoji(id discord.Snowflake, name string) Emoji { return name + ":" + id.String() }