diff --git a/src/bot.js b/src/bot.js index 44d89a7..563a0d9 100644 --- a/src/bot.js +++ b/src/bot.js @@ -704,7 +704,11 @@ GlobalFonts.registerFromPath( ); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahoma.ttf', 'Tahoma'); GlobalFonts.registerFromPath('C:/Windows/Fonts/tahomabd.ttf', 'TahomaB'); -GlobalFonts.registerFromPath('./fonts/SF-Pro-Display-Semibold.otf', 'SF Pro Display'); + +GlobalFonts.registerFromPath( + path.join(__dirname, 'assets', 'SF-Pro-Display-Semibold.otf'), + 'SF Pro Display' +); // Custom background URL — set with !setbg , cleared with !clearbg let customBgUrl = null;