From 82eff7c2567ea6fee0bfa0ec679383a99559b9ed Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 29 Jun 2020 13:30:16 -0400 Subject: [PATCH] Fix --- commands/edit-image/magik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/magik.js b/commands/edit-image/magik.js index 59638e35..f958a4d8 100644 --- a/commands/edit-image/magik.js +++ b/commands/edit-image/magik.js @@ -35,7 +35,7 @@ module.exports = class MagikCommand extends Command { magik.setFormat('jpeg'); const attachment = await this.toBuffer(magik); if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.'); - return msg.say({ files: [{ attachment, name: 'magik.png' }] }); + return msg.say({ files: [{ attachment, name: 'magik.jpeg' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); }