-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbot.yml
113 lines (111 loc) · 2.62 KB
/
bot.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
settings:
token_env: TELEGRAM_TOKEN
locales_dir: locales
long_poller:
timeout: "10s"
commands:
start: "{{ text `cmd_start` }}"
help: "{{ text `cmd_help` }}"
settings: "{{ text `cmd_settings` }}"
new_dog: "{{ text `cmd_new_dog` }}"
cur_dog: "{{ text `cmd_cur_dog` }}"
share_dog_for_reader: "{{ text `cmd_share_dog_for_reader` }}"
share_dog_for_owner: "{{ text `cmd_share_dog_for_owner` }}"
unshare_all_dogs: "{{ text `cmd_unsubsribe_all_dogs` }}"
unsubscribe: "{{ text `cmd_unsubscribe` }}"
actions: "{{ text `cmd_action` }}"
buttons:
lang: &lang
unique: lang
lang_ru:
<<: *lang
callback_data: "ru"
text: 🇷🇺
lang_en:
<<: *lang
callback_data: "en"
text: 🇬🇧
action: &action
unique: action
action_feed:
<<: *action
callback_data: "action_feed"
text: 🍼
action_yum:
<<: *action
callback_data: "action_yum"
text: 🍖
action_vacine:
<<: *action
callback_data: "action_vacine"
text: 💉
action_weigh:
<<: *action
callback_data: "action_weigh"
text: ⚖️
action_shit_detected:
<<: *action
callback_data: "action_shit_detected"
text: 🔎💩
action_shit_removed:
<<: *action
callback_data: "action_shit_removed"
text: 🧽💩
action_pee_detected:
<<: *action
callback_data: "action_pee_detected"
text: 🔎💦
action_pee_removed:
<<: *action
callback_data: "action_pee_removed"
text: 🧽💦
action_play_start:
<<: *action
callback_data: "action_play_start"
text: 🎾
action_play_end:
<<: *action
callback_data: "action_play_end"
text: 🎾🛑
action_teach_start:
<<: *action
callback_data: "action_teach_start"
text: 📚
action_teach_end:
<<: *action
callback_data: "action_teach_end"
text: 📚🛑
action_sleep_start:
<<: *action
callback_data: "action_sleep_start"
text: 💤
action_sleep_end:
<<: *action
callback_data: "action_sleep_end"
text: 💤🛑
action_walk_start:
<<: *action
callback_data: "action_walk_start"
text: 🐕🚶
action_walk_end:
<<: *action
callback_data: "action_walk_end"
text: 🐕🚶🛑
markups:
settings:
- [lang_ru, lang_en]
action:
- [action_feed, action_yum, action_vacine, action_weigh]
- [
action_shit_detected,
action_shit_removed,
action_pee_detected,
action_pee_removed,
]
- [
action_play_start,
action_teach_start,
action_sleep_start,
action_walk_start,
]
- [action_play_end, action_teach_end, action_sleep_end, action_walk_end]