-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml.example
107 lines (84 loc) · 2.71 KB
/
config.toml.example
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
telegram_token = "12345678:configureconfigureconfigureconfigure"
api_key = "yourrandomlygeneratedstringhere"
join_link_valid_minutes = 1
default_invite_chat = "furcast"
# Also HTML.
# Available {variables}: escaped_fname
rate_limit_template = """
Sorry, too many people have tried to join that group recently. Try again later.
"""
# DEBUG/INFO/WARNING/ERROR/CRITICAL
log_level = "DEBUG"
[chats]
# Each chat must have an id=NumericChatID, and may have:
# join_link = "https://t.me/+foobar" [for unpriv operation. not implemented]
# invite = true|false (default false, whether the bot will invite users who ask)
# invite_greeting = "Hello, click below to tell us you're not a bot." (HTML)
# invite_confirmation = "Your invite link is below, use it before it expires." (HTML)
# rate_limit_delay_minutes = 10
# topic_approval_chat = "chat_slug"
# topic_approval_required = true|false (default true)
# next_show_default = "show_slug"
# HTML fields like invite_greeting and invite_confirmation need <> escaped,
# and have available {variables}: escaped_fname, chat (slug)
[chats.xbn]
id = -1001170434051
[chats.xbn_chatops]
id = -1001498895240
[chats.furcast]
id = -1001462860928
invite = true
invite_greeting = """
Hello, {escaped_fname}! You've requested to join the {chat} chat.
First, please read our <a href='https://furcast.fm/chat/#rules'>chat rules</a>.
"""
invite_confirmation = """
Thanks! Your invite link is below - use it before it expires!
"""
admin_chat = "xbn_chatops"
rate_limit_delay_minutes = 10
topic_approval_chat = "xbn_chatops"
next_show_default = "fnt"
[chats.riley_test_channel]
id = -1001263448135
[chats.riley_test_group]
id = -1001422900025
admin_chat = "riley_test_group"
rate_limit_delay_minutes = 10
topic_approval_chat = "riley_test_channel"
next_show_default = "fnt"
[chats.xana_ts]
id = -1001195641999
topic_approval_required = false
[shows]
[shows.fc]
name = "FurCast"
domain = "furcast.fm"
aliases = [ "furcast" ]
[shows.fnt]
name = "Friday Night Tracks"
domain = "fridaynighttracks.com"
aliases = [ "fridaynighttracks", "fridaynighttech" ]
[shows.dd]
name = "Disc Dive"
domain = "discdive.com"
aliases = [ "discdive", "diskdive" ]
[shows.test]
name = "Test Show"
domain = "example.local"
aliases = [ "testshow", "showtest" ]
[announce]
# Array of groups to post to. Posts in first, forwards to subsequent.
fc = [ "xbn", "furcast" ]
fc-np = [ "furcast" ]
fnt = [ "xbn", "furcast" ]
fnt-np = [ "furcast" ]
dd = [ "xbn", "furcast" ]
dd-np = [ "furcast" ]
test = [ "riley_test_channel", "riley_test_group" ]
test-np = [ "riley_test_group" ]
[timezones]
"America/New_York" = [ "eastern", "edt", "est", "et" ]
"Pacific/Auckland" = [ "nzst", "nzdt", "nzt" ]
"Australia/Sydney" = [ "aest", "aedt", "aet" ]
# vim: syntax=toml