We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a9415 commit 187d23fCopy full SHA for 187d23f
core/decorators.py
@@ -15,7 +15,7 @@ async def wrapper(self, ctx, *args, **kwargs):
15
def auth_required(func):
16
@functools.wraps(func)
17
async def wrapper(self, ctx, *args, **kwargs):
18
- if self.bot.selfhosted and self.bot.config.get('github_access_token') or self.bot.config.get('modmail_api_token'):
+ if (self.bot.selfhosted and self.bot.config.get('github_access_token')) or self.bot.config.get('modmail_api_token'):
19
return await func(self, ctx, *args, **kwargs)
20
21
0 commit comments