mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Fix
This commit is contained in:
@@ -60,7 +60,7 @@ module.exports = class AnalogClockCommand extends Command {
|
||||
this.drawNumbers(ctx, radius);
|
||||
this.drawTime(ctx, radius, time);
|
||||
return msg.say(`${subMain || sub || main}${parens}`, {
|
||||
files: [{ attachment: canvas.toBuffer(), name: 'analog-clock.png' }]
|
||||
files: [{ attachment: canvas.toBuffer('image/png'), name: 'analog-clock.png' }]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user