mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
User#defaultAvatarURL should use CDN (#1531)
This commit is contained in:
parent
ee679c7320
commit
afe0bd8bc4
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class User {
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get defaultAvatarURL() {
|
get defaultAvatarURL() {
|
||||||
return Constants.Endpoints.CDN(this.client.options.http.host).DefaultAvatar(this.discriminator % 5);
|
return Constants.Endpoints.CDN(this.client.options.http.cdn).DefaultAvatar(this.discriminator % 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue