aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-05 00:00:35 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-05 00:00:35 +0000
commita2bb86d6b1f73e268144ae9edbd6210340b209f1 (patch)
treeb6ab17ab09a281bbc5f5a371247416b817f18599
parentSecurity cog; because bots don't let other bots get triggered (diff)
Function doesn't need to be async
-rw-r--r--bot/cogs/security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/security.py b/bot/cogs/security.py
index c7fa4a686..91029f2cd 100644
--- a/bot/cogs/security.py
+++ b/bot/cogs/security.py
@@ -13,7 +13,7 @@ class Security:
self.bot = bot
self.bot.check(self.check_not_bot)
- async def check_not_bot(self, ctx: Context):
+ def check_not_bot(self, ctx: Context):
return not ctx.author.bot