Webpack build for branch master: 270bbc2731

This commit is contained in:
Travis CI 2017-04-01 19:17:51 +00:00
parent f4d89c9b5c
commit 151ea99d78
2 changed files with 3 additions and 3 deletions

View file

@ -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);
} }
/** /**

File diff suppressed because one or more lines are too long