mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
fix(User): don't generate the banner URL when not cached (#6783)
This commit is contained in:
@@ -324,7 +324,7 @@ class User extends Base {
|
|||||||
);
|
);
|
||||||
json.avatarURL = this.avatarURL();
|
json.avatarURL = this.avatarURL();
|
||||||
json.displayAvatarURL = this.displayAvatarURL();
|
json.displayAvatarURL = this.displayAvatarURL();
|
||||||
json.bannerURL = this.bannerURL();
|
json.bannerURL = this.banner ? this.bannerURL() : this.banner;
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user