Repository navigation
How do I create a second class on the same server? #530
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
My server already has one class in the bot. I want a second one for my other child's class, but /start only opens the existing class. How do I add another? |
Answered by
lumenpearson
Oct 17, 2026
Replies: 1 comment
|
Once a class exists, neither the bot nor the app can add another:
The server can hold any number of classes, each with its own time zone, code, members and timetable. Today, the solution is a second deployment with its own bot token, database and
More: docs/bot.md, "Setup". |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once a class exists, neither the bot nor the app can add another:
/startoffers to create a class only to an id inOWNER_IDS, and only while the server holds no class. Once a class exists,/startopens that class instead./api/v1/manage/classand v2'sClassServiceread, change and delete the one class the phone is connected to.The server can hold any number of classes, each with its own time zone, code, members and timetable.
Today, the solution is a second deployment with its own bot token, database and
OWNER_IDS(#453). The second deployment has two limits: