mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = class RawCommand extends Command {
|
||||
ctx.textAlign = 'center';
|
||||
ctx.textBaseline = 'top';
|
||||
ctx.font = this.client.fonts.get('wildwordsroman.ttf').toCanvasString(23);
|
||||
ctx.fillText(text, 520, 143, 165);
|
||||
ctx.fillText(text, 520, 147, 165);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'raw.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user