-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.py
40 lines (35 loc) · 1.02 KB
/
config.example.py
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
from connectors import irc, jabber
from commands import shutdown, deploy
from sinks import commits
# The dict is a mapping of nicks to email addresses.
iec = irc.build('muhubot', 'irc.example.com', "#coding", {"Bob": "[email protected]"})
# Jabber uses a 1:1 mapping of jabber id to email address
#jabber.build('jabber.example.com', '[email protected]/muhubot', 'SuperSecurePassword')
commits.build(
[
iec.relay("#coding"),
#jabber.relay("[email protected]")
]
)
deploy.register(
{
'thesiteyo': {
'production': deploy.local_git('/home/theproductionsite/code_checkout')
}
}
)
shutdown.register()
irc = {
'nick': 'muhubot',
'servers': [
{
'nick': 'muhubot2', # If you want to set nick on a per server basis
'host': 'irc.example.com',
'port': 6667,
'ssl': False,
'password': "",
'channels': ['#coding'],
'usermap': {"[email protected]": "[email protected]"}
}
]
}