mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 15:57:47 +02:00
Fix
This commit is contained in:
@@ -73,6 +73,6 @@ module.exports = class DearLiberalsCommand extends Command {
|
||||
ctx.fillStyle = '#c31a41';
|
||||
const redLines = wrapText(ctx, redText, 165);
|
||||
fillTextWithBreaks(ctx, redLines.join('\n'), 326, 236);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'dear-liberals.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'dear-liberals.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user