From 82dd7a164d337a2d621a94e43de47cbe35f00fad Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 27 Jun 2020 02:35:38 +0100 Subject: [PATCH] Making sure the message is deleted when I dm a user --- cogs/FunCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/FunCommands.py b/cogs/FunCommands.py index 286fda0c..ff8445e3 100644 --- a/cogs/FunCommands.py +++ b/cogs/FunCommands.py @@ -185,7 +185,7 @@ class Fun(commands.Cog): # Send the message typed the mentioned user await member.send(text) # Delete the message sent instantly - await ctx.message_delete() + await ctx.message.delete() # ~remindme command to allow the bot to dm you to remind you of something @commands.command(aliases=["remindme", "rm"])