mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
small typo fix in emoji id endpoint (#1424)
This commit is contained in:
parent
195fcfa15c
commit
2accb7b6fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue