mirror of https://github.com/Mai-with-u/MaiBot.git
注释掉频繁日志,让日志更加好看
parent
60b3187227
commit
a7eebc8988
|
|
@ -46,7 +46,7 @@ class Waiter:
|
|||
return True # 返回 True 表示超时
|
||||
|
||||
await asyncio.sleep(5) # 每 5 秒检查一次
|
||||
logger.info("等待中...") # 可以考虑把这个频繁日志注释掉,只在超时或收到消息时输出
|
||||
# logger.info("等待中...") # 可以考虑把这个频繁日志注释掉,只在超时或收到消息时输出
|
||||
|
||||
async def wait_listening(self, conversation_info: ConversationInfo) -> bool:
|
||||
"""倾听用户发言或超时"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue