aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'cogs')
-rw-r--r--cogs/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index bd05789..ac03d00 100644
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -14,7 +14,7 @@ class Admin(commands.Cog):
return ctx.author.guild_permissions.manage_channels
@commands.Cog.listener()
- async def on_deleted_message(message):
+ async def on_deleted_message(self, message):
channel = self.bot.get_channel(718187032869994686)
embed = discord.Embed(
title = f'Deleted Message by {message.author}',
@@ -22,7 +22,7 @@ class Admin(commands.Cog):
color = message.author.color,
timestamp = message.created_at
)
- await channel.send(embed)
+ await channel.send(embed=embed)
@commands.command(aliases=['deleteEverything'], hidden=True)
@commands.check(is_mod)