Making modmail work

pull/4/head
sgoudham 5 years ago
parent d3b8912bc9
commit c623373758

@ -309,7 +309,7 @@ class Modmail(commands.Cog):
# Delete the previous embed # Delete the previous embed
await instructions.delete() await instructions.delete()
# Send the message to the modmail channel # 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 # Make sure the user knows that their message has been sent
await ctx.send(embed=MessageSentConfirmation(member)) await ctx.send(embed=MessageSentConfirmation(member))
@ -343,7 +343,7 @@ class Modmail(commands.Cog):
# Delete the previous embed # Delete the previous embed
await instructions.delete() await instructions.delete()
# Send the message to the modmail channel # 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 # Make sure the user knows that their message has been sent
await ctx.send(embed=MessageSentConfirmation(member)) await ctx.send(embed=MessageSentConfirmation(member))

Loading…
Cancel
Save