From e553888c1c38258fab7d46b355342f0096a74f8c Mon Sep 17 00:00:00 2001 From: minibox24 Date: Thu, 3 Dec 2020 22:38:45 +0900 Subject: [PATCH] delete dynamic arg --- src/structures/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/user.ts b/src/structures/user.ts index 10fbf6a..08bc7ac 100644 --- a/src/structures/user.ts +++ b/src/structures/user.ts @@ -40,7 +40,7 @@ export class User extends Base { return `<@${this.id}>` } - avatarURL(format: ImageFormats = 'webp', size: ImageSize = 512, dynamic: boolean = true): string { + avatarURL(format: ImageFormats = 'webp', size: ImageSize = 512): string { return this.avatar != null ? `${ImageURL(USER_AVATAR(this.id, this.avatar), format, size)}` : `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png`