mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Webpack build for branch master: 2accb7b6fd
This commit is contained in:
parent
65893439af
commit
5d02a61ec5
2 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,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`,
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue