From f6bb3e86eddf775f534a157179a4bff307ec91ff Mon Sep 17 00:00:00 2001 From: tnfAngel <57068341+tnfAngel@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:59:55 +0000 Subject: [PATCH] fix --- src/classes/LeaderboardCanvas.ts | 2 +- src/classes/RankCanvas.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/LeaderboardCanvas.ts b/src/classes/LeaderboardCanvas.ts index 42c5b5a..e25cd26 100644 --- a/src/classes/LeaderboardCanvas.ts +++ b/src/classes/LeaderboardCanvas.ts @@ -8,7 +8,7 @@ import { userModel } from '../schemas/UserModel'; import type { IUserModel } from '../schemas/UserModel'; import { Util } from './Util'; -GlobalFonts.registerFromPath(joinPaths(__dirname, '../assets/fonts/Asap.ttf'), 'Asap'); +GlobalFonts.registerFromPath(joinPaths(__dirname, '../assets/fonts/Asap.ttf'), 'asap'); export class LeaderboardCanvas { member: GuildMember; diff --git a/src/classes/RankCanvas.ts b/src/classes/RankCanvas.ts index e8a9caa..9bceca0 100644 --- a/src/classes/RankCanvas.ts +++ b/src/classes/RankCanvas.ts @@ -8,7 +8,7 @@ import { setFont } from '../functions/setFont'; import { userModel } from '../schemas/UserModel'; import { Util } from './Util'; -GlobalFonts.registerFromPath(joinPaths(__dirname, '../assets/fonts/Asap.ttf'), 'Asap'); +GlobalFonts.registerFromPath(joinPaths(__dirname, '../assets/fonts/Asap.ttf'), 'asap'); export class LevelCanvas { private readonly member: GuildMember;