mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Fix
This commit is contained in:
@@ -76,6 +76,6 @@ module.exports = class GruPlanCommand extends Command {
|
||||
fillTextWithBreaks(ctx, lines.join('\n'), x, y);
|
||||
i++;
|
||||
}
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'gru-plan.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'gru-plan.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user