From b4900c2bd89afc0c0369d45dd789d0fc5e45c877 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 10 Jul 2020 04:13:22 +0100 Subject: [PATCH] Adding commentary --- cogs/help/modmail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/help/modmail.py b/cogs/help/modmail.py index 8d5891e7..a3a79218 100644 --- a/cogs/help/modmail.py +++ b/cogs/help/modmail.py @@ -288,10 +288,10 @@ class Modmail(commands.Cog): # Wait for the message from the author msg = await self.bot.wait_for('message', check=check, timeout=300) + await instructions.delete() await channel.send(embed=SendMsgToModMail(self, msg, member)) await ctx.send(embed=MessageSentConfirmation(member)) logModMail(ctx, self.anon, msg) - await instructions.delete() if str(reaction.emoji) == "❌": self.anon = False @@ -316,10 +316,10 @@ class Modmail(commands.Cog): # Wait for the message from the author msg = await self.bot.wait_for('message', check=check, timeout=300) + await instructions.delete() await channel.send(embed=SendMsgToModMail(self, msg, member)) await ctx.send(embed=MessageSentConfirmation(member)) logModMail(ctx, self.anon, msg) - await instructions.delete() if self.anon is None: if str(reaction.emoji) == "❌":