From c62337375837481eacbc3ae636be70f97122c546 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 11 Jul 2020 22:06:55 +0100 Subject: [PATCH] Making modmail work --- 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 3a3237e7..951923fd 100644 --- a/cogs/help/modmail.py +++ b/cogs/help/modmail.py @@ -309,7 +309,7 @@ class Modmail(commands.Cog): # Delete the previous embed await instructions.delete() # Send the message to the modmail channel - await channel.send(embed=SendMsgToModMail(self, msg, ctx.author.id)) + await channel.send(embed=SendMsgToModMail(self, msg, ctx.author)) # Make sure the user knows that their message has been sent await ctx.send(embed=MessageSentConfirmation(member)) @@ -343,7 +343,7 @@ class Modmail(commands.Cog): # Delete the previous embed await instructions.delete() # Send the message to the modmail channel - await channel.send(embed=SendMsgToModMail(self, msg, ctx.author.id)) + await channel.send(embed=SendMsgToModMail(self, msg, ctx.author)) # Make sure the user knows that their message has been sent await ctx.send(embed=MessageSentConfirmation(member))