mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Fix
This commit is contained in:
@@ -65,6 +65,6 @@ module.exports = class ChineseRestaurantCommand extends Command {
|
||||
ctx.fillText(lines[2], base.width / 2, 315);
|
||||
ctx.fillText(lines[3], base.width / 2, 342);
|
||||
}
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'chinese-restaurant.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'chinese-restaurant.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user