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}>` |     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 |     return this.avatar != null | ||||||
|       ? `${ImageURL(USER_AVATAR(this.id, this.avatar), format, size)}` |       ? `${ImageURL(USER_AVATAR(this.id, this.avatar), format, size)}` | ||||||
|       : `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png` |       : `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png` | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue