diff options
| author | 2018-02-05 00:00:35 +0000 | |
|---|---|---|
| committer | 2018-02-05 00:00:35 +0000 | |
| commit | a2bb86d6b1f73e268144ae9edbd6210340b209f1 (patch) | |
| tree | b6ab17ab09a281bbc5f5a371247416b817f18599 | |
| parent | Security cog; because bots don't let other bots get triggered (diff) | |
Function doesn't need to be async
| -rw-r--r-- | bot/cogs/security.py | 2 |
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 |