forked from 4nd3r/tiny-matrix-bot
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tiny-matrix-bot.cfg.feature-rich.sample
186 lines (152 loc) · 4.88 KB
/
tiny-matrix-bot.cfg.feature-rich.sample
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[tiny-matrix-bot]
base_url = https://matrix.example.com
token = SuperSecretToken
#run_path = run
#scripts_path = scripts
enabled_scripts = ping,pong,help,cputemp,disks,hn,btc,eth,mn,ddg,web,restart,wake,update,check,motd,hello,pick,firewall,backup,totp,datetime,weather,tides,rss,twitter,tesla,platform,ps,top,alert,users,s2f
#inviter = :example\.com$
[help]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Try: ping, pong, cputemp, disks, hn, btc, s2f, eth, mn, ddg, web, restart, wake, hello, update, check, motd, pick, firewall, backup, totp, date, weather, tides, rss, twitter, tesla, platform, ps, top, alert, users.
# format can be: text, html, or code. If not set it is "text" by default.
format = text
[ping]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = PONG!
format = text
[pong]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = PING!
format = html
[cputemp]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Shall I put on a jacket?
[disks]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = I am hungry. Give me space :)
# format the output like code, like ```text```
format = code
[hn]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Read hn somewhere else :)
[btc]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Ticker :)
[eth]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Ticker :)
[mn]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Messari News :)
[ddg]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Duck duck goes :)
[web]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Surfing U.S.A. :)
[restart]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Restarting services ...
[wake]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Wake up another PC via LAN ...
[check]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Checking for status, health status, updates, etc ...
[motd]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Message from our leader :)
[update]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Updating stuff :)
[hello]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = I will return a compliment :)
[pick]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = pizza or hamburgers or salad
[firewall]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = List firewall settings
format = code
[backup]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Create backup of important files
[totp]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Return TOTP code (PIN)
[datetime]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Return time and date
format = code
[weather]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Return weather forecast
format = code
[tides]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Return tidal forecast
format = code
[rss]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Read RSS feeds
[twitter]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Read Twitter feeds
[tesla]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Chat with Tesla car
[platform]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Example with Python program
[ps]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = ps, CPU/RAM/disk utilization
[top]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Lists top 5 CPU and RAM consuming processes
format = code
[alert]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Only prints msg if an CPU, RAM or disk usage is beyond an alert level
[users]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = List registered Matrix users
[s2f]
#whitelist = \!rOomId1:example\.com
#blacklist = (@spammer|\!roOMid2):example\.com
reply = Stock-to-Flow ratio of BTC from messari.io API
format = code
##################################################