mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
fix: 昨天错误的shutdown_trigger逻辑
This commit is contained in:
@@ -209,7 +209,8 @@ class AiocqhttpAdapter(adapter.MessageSourceAdapter):
|
||||
self.config = config
|
||||
|
||||
async def shutdown_trigger_placeholder():
|
||||
return None
|
||||
while True:
|
||||
await asyncio.sleep(1)
|
||||
|
||||
self.config['shutdown_trigger'] = shutdown_trigger_placeholder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user