This commit is contained in:
Dragon Fire
2021-04-06 10:32:18 -04:00
parent 6399a7bff5
commit fb6b706dea
+1 -1
View File
@@ -40,6 +40,6 @@ module.exports = class EmojiImageCommand extends Command {
const canvas = createCanvas(512, 512);
const ctx = canvas.getContext('2d');
ctx.drawImage(emojiImage, 0, 0, 512, 512);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'emoji-image.png' }]});
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'emoji-image.png' }] });
}
};