Browse Source

添加日志以方便定位问题

develop
chenzhenkun 1 year ago
parent
commit
7ab56b9076
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      channel/chat_channel.py

+ 1
- 0
channel/chat_channel.py View File

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


Loading…
Cancel
Save