mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build for branch master: 270bbc2731
This commit is contained in:
parent
f4d89c9b5c
commit
151ea99d78
2 changed files with 3 additions and 3 deletions
|
|
@ -2711,7 +2711,7 @@ class User {
|
||||||
get defaultAvatarURL() {
|
get defaultAvatarURL() {
|
||||||
const avatars = Object.keys(Constants.DefaultAvatars);
|
const avatars = Object.keys(Constants.DefaultAvatars);
|
||||||
const avatar = avatars[this.discriminator % avatars.length];
|
const avatar = avatars[this.discriminator % avatars.length];
|
||||||
return Constants.Endpoints.assets(`${Constants.DefaultAvatars[avatar]}.png`);
|
return Constants.Endpoints.CDN(this.client.options.http.host).Asset(`${Constants.DefaultAvatars[avatar]}.png`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -2979,7 +2979,7 @@ class Emoji {
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get url() {
|
get url() {
|
||||||
return Constants.Endpoints.emoji(this.id);
|
return Constants.Endpoints.CDN(this.client.options.http.host).Emoji(this.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
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