forked from FloatTech/ZeroBot-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml.template
40 lines (31 loc) · 1.03 KB
/
config.toml.template
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
[db]
dbType = "sqlite" # postgresql or sqlite,非sqlite要自己建库,自动建表
[db.sqlite]
path = "data/main.db"
[db.postgresql]
dsn = "host=192.168.123.98 user=postgres password=yuanpai dbname=zerobot port=5432 sslmode=disable TimeZone=Asia/Shanghai"
[zerobot]
nickName = [ "二小姐" ]
url = "ws://127.0.0.1:6700"
token = ""
superUser = [ "10000" ]
prefix = "!"
[app]
[app.manager] # 管理功能
enable = true
[app.snare] # 黑历史功能
enable = true
priority = 20
regexAdd = "[陷祸迫]害加图"
regexExec = "随机[陷祸迫]害"
regexDel = "[陷祸迫]害删图"
[app.gag] # 禁言关键词
enable = true
[app.setutime] # 来点xx图,本地数据库
enable = true
[app.thunder] # 手捧雷,群游戏
enable = true
[app.study] # 学习功能
enable = true
[app.eeasst] # EE助手 查电阻,查尺寸,查丝印等等
enable = true