Export command leaderboard on shutdown command

This commit is contained in:
Dragon Fire
2020-06-07 08:54:04 -04:00
parent a908a671d0
commit c0cda06749
17 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ module.exports = class SpongebobBurnCommand extends Command {
ctx.font = '35px Noto';
let fontSize = 35;
while (ctx.measureText(burn).width > 400) {
fontSize -= 1;
fontSize--;
ctx.font = `${fontSize}px Noto`;
}
const lines = await wrapText(ctx, burn, 180);