mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +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
|
||||
*/
|
||||
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