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
@@ -58,7 +58,7 @@ module.exports = class ChiIdeaCommand extends Command {
ctx.font = '15px Wild Words';
let fontSize = 15;
while (ctx.measureText(text).width > 500) {
fontSize -= 1;
fontSize--;
ctx.font = `${fontSize}px Wild Words`;
}
const lines = await wrapText(ctx, text, 83);