fix(stars_bot): correct async gathering and interval config
This commit is contained in:
+1
-2
@@ -1,4 +1,3 @@
|
||||
from concurrent.futures import thread
|
||||
import logging
|
||||
import asyncio
|
||||
|
||||
@@ -39,7 +38,7 @@ class Lolz:
|
||||
else:
|
||||
thread = await self.get_thread(thread_id=thread_id)
|
||||
|
||||
return thread["permissions"]["bump"]["can"]
|
||||
return thread["permissions"]["bump"]["can"]
|
||||
|
||||
async def bump_thread(self, thread_id: Union[str, int]) -> bool:
|
||||
logger.debug(f"Поднимаю тему {thread_id}...")
|
||||
|
||||
Reference in New Issue
Block a user