mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Fix
This commit is contained in:
@@ -93,7 +93,7 @@ module.exports = class ShipCommand extends Command {
|
||||
ctx.fillText(this.calculateLevelText(level, self, owner, authorUser, botUser), 600, 296);
|
||||
ctx.font = this.client.fonts.get('Pinky Cupid.otf').toCanvasString(90);
|
||||
ctx.fillText(level > 49 ? '❤️' : '💔', 600, 100);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'ship.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'ship.png' }] });
|
||||
}
|
||||
|
||||
calculateLevelText(level, self, owner, authorUser, botUser) {
|
||||
|
||||
Reference in New Issue
Block a user