mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
whoops (#1325)
This commit is contained in:
@@ -109,7 +109,7 @@ class User {
|
||||
*/
|
||||
get avatarURL() {
|
||||
if (!this.avatar) return null;
|
||||
return Constants.Endpoints.avatar(this.id, this.avatar);
|
||||
return Constants.Endpoints.User(this).Avatar(this.client.options.http.cdn, this.avatar);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user