Skip to content
Discussion options

You must be logged in to vote

Once a class exists, neither the bot nor the app can add another:

  • /start offers to create a class only to an id in OWNER_IDS, and only while the server holds no class. Once a class exists, /start opens that class instead.
  • Neither API has a call that creates a class. /api/v1/manage/class and v2's ClassService read, 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:

  • The app keeps one «Адрес сервера» for all its classes, so a phone shows classes fr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:bot for:admin Whoever keeps a class in the bot: members, the timetable, bells, homework, the school year
1 participant