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

/chats * with multiple bots #1438

Open
sascha-hendel opened this issue Dec 23, 2023 · 1 comment
Open

/chats * with multiple bots #1438

sascha-hendel opened this issue Dec 23, 2023 · 1 comment
Labels

Comments

@sascha-hendel
Copy link

sascha-hendel commented Dec 23, 2023

I run two different bots on my machine with php-telegram-bot. I noticed, that on invoking
/chats * the list of users is always summarized from both bots :( I had a look on the mysql tables. It looks like all of the data does not have any reference to the specific bot. Is that true or do I miss something? If data is not bot specific, is it possible to use separate databases for every bot (or another way to make data bot specific)?

@Hitmare
Copy link
Collaborator

Hitmare commented Jan 2, 2024

i think its recommended to use a separate database for each bot. you just need to create a second database and import the structure into the 2nd database.

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

No branches or pull requests

2 participants