-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf-example.yml
49 lines (49 loc) · 1.21 KB
/
conf-example.yml
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
port: 4517
secret: abcdefghi
prefix: pris
name: Priscilla
prefix-alt: [priscilla $mention cilla]
help-command: help # default value
adapters:
hipchat:
exec: /vagrant/dev/golang/bin/priscilla-hipchat
params:
user: "[email protected]"
pass: "abcdefg"
nick: "Priscilla"
port: 4517
responders:
# active:
# echo:
# exec: /vagrant/dev/golang/bin/pris-echo
# secret_flag: "-screct"
# args: ["arg1", "arg2", "arg3"]
passive:
- name: echo
match:
- ^ping$
noprefix: false
cmd: /bin/echo
args: ["pong"]
help: "see if bot is listening"
help-commands: ["ping"]
- name: cleverbot
match:
- ^(.*), pris$
- ^(.*), pris\?$
mentionmatch:
- ^(.*)$
noprefix: true
cmd: ~/dev/priscilla-scripts/cleverbot.sh
args: ["__0__"]
help: "let bot answer your question"
help-commands: ['..., pris', '..., pris?', '"@mention in the msg"']
help-mention-commands: ["..."]
# "md5.*":
# prefix: true
# trim: true
# cmd: /usr/bin/md5sum
# args: ["arg1", "arg2", "arg3"]
# payload: true
# fallthrough: true
# unhandled: true