Bunch of fixes #40

Merged
skobkin merged 6 commits from fixes into main 2025-07-10 04:23:27 +03:00
Owner

Summary

Features

  • /clear command:
    Added a new /clear command that deletes all empty groups in the current chat. This helps keep the group list clean by removing unused groups.

Improvements

  • Mention formatting:
    Group mentions now display a header with the group names and list members for each group, making mentions clearer and more structured.
  • Group member list formatting:
    The member list for a group is now always properly escaped for Markdown, ensuring correct display in Telegram.
  • Group creation, join, and leave messages:
    All user-facing messages related to group creation, joining, and leaving are now consistently escaped for Markdown, preventing formatting issues.

Bug Fixes

  • Group lookup:
    Improved group lookup logic: if a group is not found, the bot now sends a clear message to the user.
  • Free-form message parsing:
    Improved parsing of group mentions in free-form messages. The bot now correctly handles punctuation around group mentions.
## Summary ### Features - **/clear command:** Added a new `/clear` command that deletes all empty groups in the current chat. This helps keep the group list clean by removing unused groups. ### Improvements - **Mention formatting:** Group mentions now display a header with the group names and list members for each group, making mentions clearer and more structured. - **Group member list formatting:** The member list for a group is now always properly escaped for Markdown, ensuring correct display in Telegram. - **Group creation, join, and leave messages:** All user-facing messages related to group creation, joining, and leaving are now consistently escaped for Markdown, preventing formatting issues. ### Bug Fixes - **Group lookup:** Improved group lookup logic: if a group is not found, the bot now sends a clear message to the user. - **Free-form message parsing:** Improved parsing of group mentions in free-form messages. The bot now correctly handles punctuation around group mentions.
skobkin self-assigned this 2025-07-10 04:23:08 +03:00
skobkin deleted branch fixes 2025-07-10 04:23:27 +03:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
skobkin/telegram-group-mention-bot!40
No description provided.