fix: 增大超时时间

This commit is contained in:
Soulter
2024-08-18 04:00:45 -04:00
parent a5db4d4e47
commit 3b3f75f03e

View File

@@ -80,7 +80,7 @@ class AIOCQHTTP(Platform):
def run_aiocqhttp(self):
if not self.host or not self.port:
return
self.bot = CQHttp(use_ws_reverse=True, import_name='aiocqhttp', api_timeout_sec=20)
self.bot = CQHttp(use_ws_reverse=True, import_name='aiocqhttp', api_timeout_sec=180)
@self.bot.on_message('group')
async def group(event: Event):
abm = self.convert_message(event)