aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xcogs/admin.py11
-rwxr-xr-xcogs/utils.py2
2 files changed, 13 insertions, 0 deletions
diff --git a/cogs/admin.py b/cogs/admin.py
index 2bf7750..8a0b866 100755
--- a/cogs/admin.py
+++ b/cogs/admin.py
@@ -12,6 +12,17 @@ class Admin(commands.Cog):
async def is_mod(ctx):
return ctx.author.guild_permissions.manage_channels
+
+ @commands.Cog.listener()
+ async def on_deleted_message(message):
+ channel = self.bot.get_channel(718187032869994686)
+ embed = discord.Embed(
+ title = f'Deleted Message by {message.author}',
+ description = 'message.content',
+ color = message.author.color,
+ timestamp = message.created_at
+ )
+ await channel.send(embed)
@commands.command(aliases=['deleteEverything'], hidden=True)
@commands.check(is_mod)
diff --git a/cogs/utils.py b/cogs/utils.py
index 13d41da..70dea4e 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -57,6 +57,8 @@ class Utils(commands.Cog):
totalEyes = 12
elif ctx.author.id == 199070670221475842: # Kai's User ID
totalEyes = -1
+ elif ctx.author.id == 615658069132836865: # no one of consequence
+ totalEyes = -12
else:
totalEyes = 0
for i in range(12):