Run formatter

This commit is contained in:
Helloyunho 2020-12-05 16:20:08 +09:00
parent c3d025529d
commit a66a18cdc0
3 changed files with 4 additions and 7 deletions

View file

@ -10,4 +10,4 @@ export const ImageURL = (
if (url.includes('a_')) {
return `${url}.${format === undefined ? 'gif' : format}?size=${size}`
} else return `${url}.${format === 'gif' ? 'png' : format}?size=${size}`
}
}

View file

@ -47,7 +47,7 @@ export class User extends Base {
}
get defaultAvatarURL(): string {
return `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png`
return `${DEFAULT_USER_AVATAR(String(Number(this.discriminator) % 5))}.png`
}
constructor(client: Client, data: UserPayload) {