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