Making sure the message is deleted when I dm a user

pull/2/head
sgoudham 4 years ago
parent 526ce0c0d8
commit 82dd7a164d

@ -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"])

Loading…
Cancel
Save