delete dynamic arg
This commit is contained in:
parent
a143399f6e
commit
e553888c1c
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue