mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
test
This commit is contained in:
parent
af01c73f8d
commit
111378b909
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user