This commit is contained in:
Dragon Fire
2024-05-06 10:13:36 -04:00
parent 2ace291b74
commit 8bd76fa5a6
+1 -1
View File
@@ -67,7 +67,7 @@ module.exports = class RipCommand extends Command {
ctx.textAlign = 'center';
ctx.font = this.client.fonts.get('CoffinStone.otf').toCanvasString(62);
this.fillPressedText(ctx, user.username, 438, 330, 500);
if (cause) this.fillPressedText(ctx, cause, 438, 915, 500);
if (cause) this.fillPressedText(ctx, cause, 438, 920, 500);
ctx.font = this.client.fonts.get('CoffinStone.otf').toCanvasString(37);
this.fillPressedText(ctx, 'In Loving Memory of', 438, 292);
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'rip.png' }] });