mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Fix
This commit is contained in:
@@ -50,6 +50,6 @@ module.exports = class SpeedLimitCommand extends Command {
|
||||
ctx.font = this.client.fonts.get('HWYGWDE.ttf').toCanvasString(360);
|
||||
ctx.fillStyle = 'black';
|
||||
ctx.fillText(limit.toUpperCase(), 313, 356, 475);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'speed-limit.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'speed-limit.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user