mod: hedge-proofing but this time actually hardcode hedge's id lmao

This commit is contained in:
Ave Ozkal 2019-09-18 16:20:15 +03:00
parent 1febd31635
commit 1b89752651
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -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}, "