mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00: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