[Feature]: group support?
Problem
I have multiple Telegram groups, but when I set an OpenCode project folder in one group, the same folder is automatically applied to all other groups.
Proposal
It would be great if the project selection were persisted separately for each Telegram group and not overwritten by changes made in another group.
Done criteria (optional)
No response
I did not understand your suggestion. What does it mean you set up the project in one group?
Thanks for asking — let me clarify with an example.
I have three separate software projects in OpenCode, each with its own project directory, and three separate Telegram groups using the same bot:
Telegram group OpenCode project directory Project 1 /projects/project-1Project 2 /projects/project-2Project 3 /projects/project-3By “setting the project in a group,” I mean selecting which OpenCode project directory the bot should use for messages sent in that Telegram group.
Current behavior: I select Project 1 in Telegram group 1. Then I select Project 2 in Telegram group 2. After that, group 1 also uses Project 2 — its previous selection has been overwritten.
Expected behavior: Each Telegram group should remember its own selected OpenCode project independently. Selecting or changing the project in group 2 should only affect group 2. Group 1 should continue using Project 1.
The feature I’m requesting is a persistent mapping between each Telegram group’s chat ID and its selected OpenCode project directory, so I can work on multiple projects through separate groups without repeatedly switching projects.
https://github.com/grinev/opencode-telegram-bot/blob/main/CONCEPT.md