mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -64,6 +64,6 @@ module.exports = class DistractedBoyfriendCommand extends Command {
|
||||
ctx.drawImage(girlfriendAvatar, 539, 67, 100, 125);
|
||||
ctx.rotate(-3.11 * (Math.PI / 180));
|
||||
ctx.drawImage(otherGirlAvatar, 120, 96, 175, 175);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'distracted-boyfriend.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'distracted-boyfriend.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user