Skip to content

feat: /joinchat command and group chat notice in ride messages#5

Merged
feedbee merged 4 commits intomainfrom
claude/frosty-gagarin
Apr 6, 2026
Merged

feat: /joinchat command and group chat notice in ride messages#5
feedbee merged 4 commits intomainfrom
claude/frosty-gagarin

Conversation

@feedbee
Copy link
Copy Markdown
Owner

@feedbee feedbee commented Apr 6, 2026

Summary

  • Ride messages now show a notice with /joinchat #ID instructions when a group is attached to the ride; the notice is absent (no extra whitespace) when no group is attached
  • /attach and /detach now update all existing ride messages across all chats so the notice appears/disappears immediately everywhere
  • New /joinchat private command: any joined participant can send it to get a single-use invite link to the group chat, reusing the existing GroupManagementService.addParticipant logic

Test plan

  • Ride message without an attached group — no extra blank lines, no group chat notice
  • After /attach: all existing ride messages (in all chats) show the group chat line; the newly posted group message also shows it
  • After /detach: all ride messages remove the group chat line
  • /joinchat #ID from a non-participant → error reply
  • /joinchat #ID from a joined participant → invite link sent (or creator notified if user hasn't started the bot)
  • /joinchat #ID for a ride with no attached group → error reply
  • All tests pass: ./run-tests.sh --mode basic

🤖 Generated with Claude Code

feedbee and others added 4 commits April 6, 2026 19:09
When a group is attached to a ride, all ride messages now show a notice
with /joinchat #ID instructions so participants know how to join.
The notice disappears automatically on detach. Attach and detach now
update all existing ride messages across all chats.

/joinchat is a new private-only command: any joined participant can send
it to the bot to receive a single-use invite link, reusing the existing
GroupManagementService.addParticipant logic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both branches added new private commands — keep joinchat (this branch)
and fromstrava (main); merged bot.commandDescriptions accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adding both /joinchat (this branch) and /fromstrava (main) brings
the total private-only command count to 13.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@feedbee feedbee merged commit f1a6eb1 into main Apr 6, 2026
1 check passed
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.

1 participant