updated readme and resetted pollmaster files
This commit is contained in:
1 parent
531a172eb6
commit
04faed2f07
4 files changed
+21
-27
No files matched your search
@@ -50,9 +50,7 @@ class PollControls(commands.Cog):
|
||||
while True:
|
||||
try:
|
||||
if not hasattr(self.bot, 'db'):
|
||||
"""await asyncio.sleep(30)"""
|
||||
logger.info("DB not available yet")
|
||||
time.sleep(30)
|
||||
await asyncio.sleep(30)
|
||||
continue
|
||||
|
||||
query = self.bot.db.polls.find({'active': False, 'activation': {"$not": re.compile("0")}})
|
||||
|
||||
Reference in new issue
Block a user