-
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
Description
The bot shows the same error message for two different scenarios, which can be confusing for users.
Current Behavior
The bot responds with:
"Please reply to or forward the message you'd like to quote"
This message appears in both of these cases:
- When tagging the bot without replying to or forwarding any message (correct behavior)
- When tagging the bot in a reply to an older message that was sent before the bot was added to the group chat
Expected Behavior
The error message for case 2 should be different and more specific, such as:
"Unable to access this message. It may have been sent before I was added to this group."
This would help users understand why the bot can't quote the message, rather than implying they didn't reply to anything.
Steps to Reproduce
- Have a group chat with messages sent before the bot was added
- Add the bot to the group
- Reply to an old message (sent before the bot joined) and tag the bot
- Observe the misleading error message
Suggested Fix
Differentiate between:
- No reply/forward detected → current message is fine
- Reply detected but message content inaccessible → show a different, more descriptive error message
I'd be happy to submit a PR to fix this if you're open to contributions!
Metadata
Metadata
Assignees
Labels
No labels