mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build: 265ac90234
This commit is contained in:
parent
0d4a198f71
commit
053bc49104
2 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ const Endpoints = exports.Endpoints = {
|
||||||
userProfile: (userID) => `${Endpoints.user(userID)}/profile`,
|
userProfile: (userID) => `${Endpoints.user(userID)}/profile`,
|
||||||
avatar: (userID, avatar) => {
|
avatar: (userID, avatar) => {
|
||||||
if (userID === '1') return avatar;
|
if (userID === '1') return avatar;
|
||||||
return `${Endpoints.CDN}/avatars/${userID}/${avatar}.${avatar.startsWith('a_') ? 'gif' : 'jpg'}`;
|
return `${Endpoints.CDN}/avatars/${userID}/${avatar}.${avatar.startsWith('a_') ? 'gif' : 'jpg'}?size=1024`;
|
||||||
},
|
},
|
||||||
me: `${API}/users/@me`,
|
me: `${API}/users/@me`,
|
||||||
meGuild: (guildID) => `${Endpoints.me}/guilds/${guildID}`,
|
meGuild: (guildID) => `${Endpoints.me}/guilds/${guildID}`,
|
||||||
|
|
|
||||||
2
discord.indev.min.js
vendored
2
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue