From 7cc57629cf9079007473586ea02791e0666cb0bb Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 21 Feb 2020 18:59:18 +0100 Subject: [PATCH] Delete original message --- commands/images/poster.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/images/poster.js b/commands/images/poster.js index eb7edab..7bf2b44 100644 --- a/commands/images/poster.js +++ b/commands/images/poster.js @@ -108,7 +108,8 @@ class posterCommand extends Command { console.error(err); return message.channel.send('An error just occured! is it a static image?'); } - return message.channel.send({files: [output]}) + message.delete(); + return message.channel.send(`Made by ${message.author.username}`,{files: [output]}) .catch(() => { return message.channel.send('The image is too big to fit on discord!'); });