添加日志以方便定位问题

This commit is contained in:
chenzhenkun
2023-09-01 18:56:24 +08:00
parent 89f438208a
commit 7ab56b9076

View File

@@ -103,6 +103,7 @@ class ChatChannel(Channel):
flag = True
if match_prefix:
content = content.replace(match_prefix, "", 1).strip()
logger.info(f'context["msg"]: {context["msg"].__str__()}')
if context["msg"].is_at and context["msg"].to_user_id != context["msg"].actual_user_id:
logger.info("[WX]receive group at")
if not conf().get("group_at_off", False):