mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 23:05:04 +02:00
Fix
This commit is contained in:
@@ -60,6 +60,6 @@ module.exports = class SnapchatCommand extends Command {
|
||||
ctx.globalAlpha = 1;
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillText(text, base.width / 2, barPosition - (barHeight * 0.4));
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'snapchat.png' }] });
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'snapchat.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user