-
Notifications
You must be signed in to change notification settings - Fork 1
/
bot.yml
60 lines (53 loc) · 994 Bytes
/
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
settings:
token_env: TOKEN
parse_mode: html
config:
addr: ':8050'
host: 'https://nullify.cc'
subscribe: 'handybots'
limits:
default: 5
subscribed: 20
buttons:
my: '{{ text `btn_my` }}'
lang: &lang
unique: lang
lang_ru:
<<: *lang
callback_data: 'ru'
text: 🇷🇺
lang_en:
<<: *lang
callback_data: 'en'
text: 🇬🇧
more:
unique: more
text: '{{ text `btn_more` }}'
subscribe:
unique: subscribe
text: '{{ text `btn_subscribe` }}'
link:
unique: my_link
callback_data: '{{.Number}}|{{.ID}}'
text: '{{.Number}}'
link_delete: &link_delete
unique: link_delete
link_delete_confirm:
<<: *link_delete
callback_data: '{{.}}'
text: ✅
link_delete_cancel:
<<: *link_delete
callback_data: -1
text: ❌
markups:
lang:
- [lang_ru, lang_en]
menu:
- [my]
more:
- [more]
subscribe:
- [subscribe]
delete:
- [link_delete_confirm, link_delete_cancel]