Repository navigation
Who can create a class, and why doesn't /start offer to create one for me? #529
|
I want to set up our class in the bot. When I send /start, it asks me to share my phone number, or opens a class that already exists, instead of offering to create one. Who is allowed to create a class? |
Replies: 1 comment
|
Only an account whose Telegram id is in the server's Why you see something else:
The wizard asks for the year (1–11), the letter, the school and the time zone; whoever finishes it becomes the class's «Владелец», and the bot prints the class code for the app. More: docs/bot.md, "Setup" and docs/deploy.md, "Several owners". |
Only an account whose Telegram id is in the server's
OWNER_IDScan create a class, and only while the server holds none. The bot checks the list when/startoffers «👋 Классов ещё нет. Давайте создадим первый.», and again at the wizard's last step. That step answers anyone else «Только для владельца».Why you see something else:
OWNER_IDS. This screen is for someone an administrator invited by phone number. If someone else runs the server, ask them: they can create the class and invite you as «Администратор», or add your id toOWNER_IDS, making you «Владелец». You then reach your classes in the bot, or the serv…