1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-26 11:45:37 -05:00

Remove unnecessary text in leaderboard graph

This commit is contained in:
toast-ts 2024-04-17 10:55:42 +10:00
parent 1292fe26a6
commit 254ffeaf76

View File

@ -126,7 +126,7 @@ export default class CanvasBuilder {
this.ctx.fillText(type === 'leaderboard' ? '0 msgs' : '0', origin[0] + size[0] + textSize / 2, origin[1] + size[1] + (textSize / 3));
// 30 day (minute for /mp players)
this.ctx.fillText(type === 'leaderboard' ? '30 days ago' : '30 mins ago', lastStart, origin[1] - (textSize / 2));
this.ctx.fillText(type === 'players' ? '30 mins ago' : '', lastStart, origin[1] - (textSize / 2));
// Time
this.ctx.fillText('time ->', origin[0] + (textSize / 2), origin[1] + size[1] + (textSize));