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