From 1b897526518a79619cc76d8405dfc146cfd0a666 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 18 Sep 2019 16:20:15 +0300 Subject: [PATCH] mod: hedge-proofing but this time actually hardcode hedge's id lmao --- cogs/mod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/mod.py b/cogs/mod.py index 6c2ec7b..bf46582 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -156,6 +156,8 @@ class Mod(Cog): """Bans a user, staff only.""" # Hedge-proofing the code if target == ctx.author: + if target.id == 181627658520625152: + return await ctx.send("No, not again.") return await ctx.send("hedgeberg#7337 is now b&. 👍") elif target == self.bot.user: return await ctx.send(f"I'm sorry {ctx.author.mention}, "