small typo fix in emoji id endpoint (#1424)

This commit is contained in:
Drahcirius
2017-04-28 12:11:12 -04:00
committed by Crawl
parent 195fcfa15c
commit 2accb7b6fd

View File

@@ -187,7 +187,7 @@ const Endpoints = exports.Endpoints = {
Member: m => exports.Endpoints.Guild(m.guild).Member(m),
CDN(root) {
return {
Emoji: emojiID => `${root}/emojis/$${emojiID}.png`,
Emoji: emojiID => `${root}/emojis/${emojiID}.png`,
Asset: name => `${root}/assets/${name}`,
Avatar: (userID, hash) => `${root}/avatars/${userID}/${hash}.${hash.startsWith('a_') ? 'gif' : 'png'}?size=2048`,
Icon: (guildID, hash) => `${root}/icons/${guildID}/${hash}.jpg`,