From cecb79f8d596bdc62af0a547764327aa6f115ecc Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Mon, 27 Jul 2020 21:17:05 +0000 Subject: [PATCH] Update Emoji endpoints to point to the CDN. --- endpoints.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints.go b/endpoints.go index 3d0c614..0b337a1 100644 --- a/endpoints.go +++ b/endpoints.go @@ -139,8 +139,8 @@ var ( EndpointIntegrationsJoin = func(iID string) string { return EndpointAPI + "integrations/" + iID + "/join" } - EndpointEmoji = func(eID string) string { return EndpointAPI + "emojis/" + eID + ".png" } - EndpointEmojiAnimated = func(eID string) string { return EndpointAPI + "emojis/" + eID + ".gif" } + EndpointEmoji = func(eID string) string { return EndpointCDN + "emojis/" + eID + ".png" } + EndpointEmojiAnimated = func(eID string) string { return EndpointCDN + "emojis/" + eID + ".gif" } EndpointOauth2 = EndpointAPI + "oauth2/" EndpointApplications = EndpointOauth2 + "applications"