-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbotconfig.example.ts
44 lines (43 loc) · 1.21 KB
/
botconfig.example.ts
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
// 修改设置时,仅修改以下代码块!
const config :botconf = {
debug: false,
cqhttpUrl: "ws://localhost:1234",
cqhttpToken: "this_is_a_very_long_token_for_cqhttp",
adminQQ: [123456789, 987654321],
description: "无维护/继续开发计划,等待重构。",
gokapiUrl: "https://gokapi.example.site/api/",
gokapiToken: "this_is_a_very_long_token_for_gokapi",
osuIrcUsername: "Kreee",
osuIrcPassword: "this_is_a_very_long_passwd_for_irc",
osuIrcIntervalMin: 5,
osuIrcIntervalMax: 10,
nitterUrl: "https://nitter.example.site/",
pixivReverseUrl: "pixiv.example.site",
maxLogHistory: 100,
osuClientId: 114514,
osuClientSecret: "this_is_a_very_long_secret_for_osu",
ahrCWD: "/app/osuahr",
dbCWD: "/app/botdb"
}
// 以下内容请勿修改!
interface botconf {
debug: boolean
cqhttpUrl: string
cqhttpToken?: string
adminQQ: Array<number>
description: string
gokapiUrl: string
gokapiToken: string
osuIrcUsername: string
osuIrcPassword: string
osuIrcIntervalMin :number
osuIrcIntervalMax :number
osuClientId :number
osuClientSecret :string
nitterUrl :string
pixivReverseUrl: string
maxLogHistory :number
ahrCWD :string
dbCWD :string
}
export default config