delete dynamic arg

This commit is contained in:
minibox24 2020-12-03 22:38:45 +09:00
parent a143399f6e
commit e553888c1c
1 changed files with 1 additions and 1 deletions

View File

@ -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`