Skip to content

Commit

Permalink
chore: message_parser改名message_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassius0924 committed Feb 19, 2024
1 parent dcf7f48 commit b22dfac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wechatter/message/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .message_parser import MessageHandler
from .message_handler import MessageHandler

__all__ = [
"MessageHandler",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ def handle_message(self, message_obj: Message):
message=message_obj.pure_content,
q_response=quoted_response.response,
)
else:
logger.warning(
f"未找到可引用的命令消息处理函数: {quoted_response.command}"
)
return

# 非命令消息
Expand Down

0 comments on commit b22dfac

Please sign in to comment.