This commit is contained in:
felinae98 2021-02-09 22:15:07 +08:00
parent af01c73f8d
commit 111378b909
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class Arknights(metaclass=Singleton):
async def fetch_new_post(self, _) -> list[Post]:
try:
data = await self.get_announce_list()
if self.inited['default'] or True:
if self.inited['default'] or True: # FIXME
return await self.filter(data)
else:
await self.filter(data, True)

View File

@ -10,7 +10,7 @@ LAST_SEND_TIME = time.time()
async def do_send_msgs():
global LAST_SEND_TIME
if time.time() - LAST_SEND_TIME < 1.4:
if time.time() - LAST_SEND_TIME < 15: # FIXME
return
if QUEUE:
bot, user, user_type, msg, retry_time = QUEUE.pop(0)