mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
I hate this
This commit is contained in:
@@ -41,8 +41,10 @@ module.exports = class CanvasCommand extends Command {
|
|||||||
};
|
};
|
||||||
base.src = await request
|
base.src = await request
|
||||||
.get('https://i.imgur.com/Gbu1B2m.png').body;
|
.get('https://i.imgur.com/Gbu1B2m.png').body;
|
||||||
|
console.log(base.src);
|
||||||
avatar.src = await request
|
avatar.src = await request
|
||||||
.get(avatarURL).body;
|
.get(avatarURL).body;
|
||||||
|
console.log(avatar.src);
|
||||||
generate();
|
generate();
|
||||||
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'rip.png' }] })
|
return msg.channel.send({ files: [{ attachment: canvas.toBuffer(), name: 'rip.png' }] })
|
||||||
.catch(err => msg.say(err));
|
.catch(err => msg.say(err));
|
||||||
|
|||||||
Reference in New Issue
Block a user