15 More Horses

This commit is contained in:
Dragon Fire
2020-04-21 21:00:59 -04:00
parent ae35350d9e
commit ef04c2ea79
3 changed files with 62 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ module.exports = class HorseRaceCommand extends Command {
if (colors[i]) drawImageWithTint(ctx, horseImg, colors[i], 37, 114 + (49 * i), 49, 49);
ctx.font = '34px Paladins';
ctx.fillText(this.formatTime(result.time), 755, 138 + (49 * i));
ctx.font = '16px Paladins';
ctx.font = '15px Paladins';
ctx.fillText(horse.name, 251, 138 + (49 * i));
}
return { attachment: canvas.toBuffer(), name: 'leaderboard.png' };