mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-08 23:32:12 +02:00
Fix
This commit is contained in:
@@ -78,6 +78,6 @@ module.exports = class TwoButtonsCommand extends Command {
|
||||
lineOffset += 5;
|
||||
}
|
||||
ctx.rotate(12 * (Math.PI / 180));
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'two-buttons.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'two-buttons.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user