Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for group chat session IDs in configuration and log… #2355

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WSure00
Copy link

@WSure00 WSure00 commented Oct 24, 2024

  • When encountering unsupported characters, the function now checks for a group ID.
  • The group ID can be identified by parsing the log entries.
  • This change ensures that the application can handle edge cases more robustly.

@6vision
Copy link
Collaborator

6vision commented Oct 31, 2024

群id怎么获得呀?唯一嘛?

@WSure00
Copy link
Author

WSure00 commented Nov 1, 2024

群id怎么获得呀?唯一嘛?

是唯一的,微信提供的群id。群id我设置让打印出来了,就是先在群里聊一句,然后打印对应的群id出来:
image
可以在log里找一下想要加的群id,找到之后加入json文件。

@6vision
Copy link
Collaborator

6vision commented Nov 5, 2024

[INFO][2024-11-05 14:41:59][chat_channel.py:118] - [chat_channel]receive group at: group_name: 调试群; group_id: @@1ea19166fcf1a5274cc4370e01353115a9c44256e48b1544db7e1bc7d7c96bf4
[INFO][2024-11-05 14:44:36][chat_channel.py:118] - [chat_channel]receive group at: group_name: 调试群; group_id: @@d7c3336ec6470c619f6919e84c6f49bcbd2e7315cf1d6d8a5f7c2214640888ea

你应该是启用了hot reload,不启用情况下,重新登录id是会变的

@WSure00
Copy link
Author

WSure00 commented Nov 6, 2024

哦你说的也对哦,那好像确实没办法了,就保留issue让大家参考算了。如果设置后台 reload的话,可以使用id代替复杂的群名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants