mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Export command leaderboard on shutdown command
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user