-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathall_json_data.py
48 lines (39 loc) · 1.04 KB
/
all_json_data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
from tasks.news import *
from tasks.rules import *
from tasks.admin_panel import AdminPanel
from tasks.discriminant import Discriminant
from tasks.arc_progress import ArithmeticProgression
math_more = {
"discr": {
"text": "Дискриминант",
"func": Discriminant.get_chat_id
},
"arc_progr": {
"text": "Арифметическая прогрессия",
"func": ArithmeticProgression.get_chat_id
}
}
geom_more = {}
all_lessons = {
"news": {
"text": "Новости 📰",
"more": all_news
},
"rules": {
"text": "Правила/Теоремы 📚",
"more": all_rules
},
"math": {
"text": "Алгебра 🧮",
"more": math_more
},
"geom": {
"text": "Геометрия 📐",
"more": geom_more
}
}
admin_commands = {
"Старт бота": AdminPanel.bot_start_time,
"Пользователи": AdminPanel.print_users
}