mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 15:57:50 +02:00
Fix
This commit is contained in:
@@ -57,6 +57,6 @@ module.exports = class PillsCommand extends Command {
|
||||
ctx.strokeText(lines[i], 183, height);
|
||||
ctx.fillText(lines[i], 183, height);
|
||||
}
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'pills.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'pills.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user