Skip to content

Commit 406e859

Browse files
committed
Attempt to fix teams issue
1 parent 7483d14 commit 406e859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
"""
2424

25-
__version__ = '2.18.2'
25+
__version__ = '2.18.3'
2626

2727
import asyncio
2828
import logging
@@ -226,7 +226,7 @@ def run(self, *args, **kwargs):
226226
async def is_owner(self, user):
227227
raw = str(self.config.get('owners', '0')).split(',')
228228
allowed = {int(x) for x in raw}
229-
return await super().is_owner(user) or user.id in allowed
229+
return (user.id in allowed) or await super().is_owner(user)
230230

231231
@property
232232
def log_channel(self):

0 commit comments

Comments
 (0)