mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Fix
This commit is contained in:
@@ -48,6 +48,6 @@ module.exports = class FoodBrokeCommand extends Command {
|
||||
contrast(ctx, 23, 9, 125, 125);
|
||||
ctx.drawImage(avatar, 117, 382, 75, 75);
|
||||
contrast(ctx, 117, 382, 75, 75);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'food-broke.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'food-broke.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user