-
Notifications
You must be signed in to change notification settings - Fork 16
/
csbot.deploy.toml
102 lines (91 loc) · 2.53 KB
/
csbot.deploy.toml
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
["@bot"]
ircv3 = true
nickname = "Mathison"
auth_method = "sasl_plain"
irc_host = "irc.libera.chat"
channels = [
"#cs-york",
"#cs-york-dev",
"#compsoc-uk",
"#hacksoc",
"#hacksoc-bottest",
]
plugins = [
"logger",
"linkinfo",
"hoogle",
"imgur",
"csyork",
"usertrack",
"auth",
"topic",
"helix",
"calc",
"mongodb",
"termdates",
"whois",
"xkcd",
"youtube",
"last",
"webserver",
"webhook",
"github",
]
client_ping = 60
[linkinfo]
scan_limit = 2
[auth]
"@everything" = "* *:*"
Alan = "@everything"
#hjmills = "@everything"
barrucadu = "#cs-york:topic"
Helzibah = "#cs-york:topic"
#DinCahill = "#cs-york:topic"
#jalada = "#cs-york:topic"
#kyubiko = "#cs-york:topic #hacksoc:*"
#eep = "#cs-york:topic #hacksoc:*"
fromankyra = "#hacksoc-bottest:*"
luke = "#hacksoc:* #hacksoc-bottest:*"
"*" = "#compsoc-uk:topic"
[topic]
history = 5
["topic/#cs-york"]
start = ""
sep = "::"
end = ""
["topic/#hacksoc"]
start = ""
sep = "::"
end = ""
["topic/#compsoc-uk"]
start = ""
sep = "|"
end = ""
["topic/#hacksoc-bottest"]
start = ""
sep = "::"
end = ""
[webserver]
host = "0.0.0.0"
port = 8000
[github]
# Re-usable format strings
"fmt.source" = "[{repository[name]}] {sender[login]}"
"fmt.issue_num" = "issue #{issue[number]}"
"fmt.issue_text" = "{issue[title]} ({issue[html_url]})"
"fmt.pr_num" = "PR #{pull_request[number]}"
"fmt.pr_text" = "{pull_request[title]} ({pull_request[html_url]})"
# Format strings for specific events
"fmt/create" = "{fmt.source} created {ref_type} {ref} ({repository[html_url]}/tree/{ref})"
"fmt/delete" = "{fmt.source} deleted {ref_type} {ref}"
"fmt/issues/*" = "{fmt.source} {event_subtype} {fmt.issue_num}: {fmt.issue_text}"
"fmt/issues/assigned" = "{fmt.source} {event_subtype} {fmt.issue_num} to {assignee[login]}: {fmt.issue_text}"
"fmt/pull_request/*" = "{fmt.source} {event_subtype} {fmt.pr_num}: {fmt.pr_text}"
"fmt/pull_request/assigned" = "{fmt.source} {event_subtype} {fmt.pr_num} to {assignee[login]}: {fmt.pr_text}"
"fmt/pull_request/review_requested" = "{fmt.source} requested review from {requested_reviewer[login]} on {fmt.pr_num}: {fmt.pr_text}"
"fmt/pull_request_review/submitted" = "{fmt.source} reviewed {fmt.pr_num} ({review_state}): {review[html_url]}"
"fmt/push/pushed" = "{fmt.source} pushed {count} new commit(s) to {short_ref}: {compare}"
"fmt/push/forced" = "{fmt.source} updated {short_ref}: {compare}"
"fmt/release/*" = "{fmt.source} {event_subtype} release {release[name]}: {release[html_url]}"
["github/HackSoc/csbot"]
notify = "#cs-york-dev"