I hate this

This commit is contained in:
Daniel Odendahl Jr
2017-05-10 03:45:52 +00:00
parent fef201a031
commit 0dc10b84a1
+2
View File
@@ -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));