Endpoints.Guild(...).Emoji(...) should not use CDN (#1462)

This commit is contained in:
Crawl
2017-05-05 02:23:25 +02:00
parent 77caa0f8d4
commit 41e0be1db3

View File

@@ -133,7 +133,7 @@ const Endpoints = exports.Endpoints = {
ack: `${base}/ack`,
settings: `${base}/settings`,
auditLogs: `${base}/audit-logs`,
Emoji: emojiID => Endpoints.CDN(root).Emoji(emojiID),
Emoji: emojiID => `${base}/emojis/${emojiID}`,
Icon: (root, hash) => Endpoints.CDN(root).Icon(guildID, hash),
Splash: (root, hash) => Endpoints.CDN(root).Splash(guildID, hash),
Role: roleID => `${base}/roles/${roleID}`,