mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +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),
|
Member: m => exports.Endpoints.Guild(m.guild).Member(m),
|
||||||
CDN(root) {
|
CDN(root) {
|
||||||
return {
|
return {
|
||||||
Emoji: emojiID => `${root}/emojis/$${emojiID}.png`,
|
Emoji: emojiID => `${root}/emojis/${emojiID}.png`,
|
||||||
Asset: name => `${root}/assets/${name}`,
|
Asset: name => `${root}/assets/${name}`,
|
||||||
Avatar: (userID, hash) => `${root}/avatars/${userID}/${hash}.${hash.startsWith('a_') ? 'gif' : 'png'}?size=2048`,
|
Avatar: (userID, hash) => `${root}/avatars/${userID}/${hash}.${hash.startsWith('a_') ? 'gif' : 'png'}?size=2048`,
|
||||||
Icon: (guildID, hash) => `${root}/icons/${guildID}/${hash}.jpg`,
|
Icon: (guildID, hash) => `${root}/icons/${guildID}/${hash}.jpg`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue