From 1d537892e6b0176201f18ddbeb48e97033e037ba Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 9 Dec 2017 21:40:16 +0000 Subject: [PATCH] Fix --- commands/image-edit/glitch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/image-edit/glitch.js b/commands/image-edit/glitch.js index afe0e8af..cd621665 100644 --- a/commands/image-edit/glitch.js +++ b/commands/image-edit/glitch.js @@ -34,7 +34,7 @@ module.exports = class GlitchCommand extends Command { const ctx = canvas.getContext('2d'); ctx.drawImage(data, 0, 0); distort(ctx, 20, 0, 0, data.width, data.height, 5); - return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'distort.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'glitch.png' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); }