mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 05:51:42 +02:00
Fix
This commit is contained in:
@@ -54,6 +54,6 @@ module.exports = class ICantBelieveCommand extends Command {
|
||||
ctx.fillStyle = '#13487b';
|
||||
ctx.fillText(firstUpperCase(text.toLowerCase(), null), 13, 54, 171);
|
||||
ctx.rotate(8 * (Math.PI / 180));
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'i-cant-believe.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'i-cant-believe.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user