add alice users config

This commit is contained in:
Administrator 2023-11-11 21:07:29 +03:00
parent 6df44bcd4c
commit 5011a9fc14

View File

@ -9,7 +9,7 @@ def main_keyboard(telegram_id):
kb.row("Расписание на неделю")
kb.row("Напоминания о парах")
kb.row("Ежедневные уведомления")
if platform.experiment_enabled_for_user('alice', telegram_id):
if platform.experiment_enabled_for_user('alice', telegram_id) or telegram_id in platform.get_config('alice_users'):
kb.row("Подключение Алисы")
kb.row("Сброс настроек")
return kb