mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Fix
This commit is contained in:
@@ -55,6 +55,6 @@ module.exports = class CatchCommand extends Command {
|
||||
ctx.fillText(is.toUpperCase(), 163, 202);
|
||||
await msg.channel.send({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'catch', 'part-1.png')] });
|
||||
await delay(time * 1000);
|
||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'part-2.png' }] });
|
||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'part-2.png' }] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user