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
@@ -54,7 +54,7 @@ module.exports = class EddFactsBookCommand extends Command {
ctx.font = '30px Noto';
let fontSize = 30;
while (ctx.measureText(fact).width > 458) {
fontSize -= 1;
fontSize--;
ctx.font = `${fontSize}px Noto`;
}
const lines = await wrapText(ctx, fact, 183);