forked from pipoteam/pipobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipobot.conf.yml
133 lines (122 loc) · 2.73 KB
/
pipobot.conf.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Global parameters for all bots
config:
# Log file for pipobot
logpath: /var/log/pipobot/pipobot.log
# OPTIONAL: if provided, all XMPP messages sent by the bot will be logged here
# xmpp_logpath: /var/log/pipobot/pipobot_xmpp.log
# Force the connection to the XMPP server in ipv4
force_ipv4: True
# Language of the application
lang: en
# A list of directories where modules will be stored
modules_path:
- /usr/share/pipobot/modules
#Database configuration
database:
# Engine used, see sqlalchemy doc (commons are : 'sqlite', 'mysql', 'postgresql')
engine: sqlite
src: /var/lib/pipobot/pipobot.sqlite3 # For sqlite, path to the database
# For mysql or postgresql, provide 'user', 'password', 'host', 'name' parameters
# List of rooms the bot will join when started
rooms:
-
chan: [email protected]
login: [email protected]
passwd: secret
resource: pipobot
nick: Pipobot
modules:
- _nodep
# Groups of modules
groups:
nodep:
- blague
- botanswers
- bourse
- canalplus
- chiffres_lettres
- cmdalacon
- coin
- date
- getjid
- nextprev
- pioche
- raced
- reminder
- roll
- scores
- todo
- url
- wiki
all:
- bashfr
- bashorg
- blague
- botanswers
- bourse
- chuck
- cmdalacon
- date
- getjid
- google
- nextprev
- ola
- pendu
- reminder
- rps
- spell
- todo
- tv
- unicode
- url
- vdm
- xhtml
# For test modes (--unit-test, --script, --interactive)
test:
fake_nick: Pipotest
fake_chan: [email protected]
modules:
- bashfr
- bashorg
- bideetmusique
- bourse
- chiffres_lettres
- cmdfu
- coin
- date
- getjid
- google
- nextprev
- ola
- pendu
- pioche
- roll
- rps
- scmb
- spell
- todo
- vdm
- wiki
#
# Specific configuration of modules
# Please refer to the documentation of these modules
#
modules_config:
botmpd:
host: localhost
port: 6600
pwd: /secret/
datadir: /path/to/music
hg:
default: repo2
repos:
repo1: /path/to/repo1
repo2: /path/to/repo2
repo3: /path/to/repo3
url:
respost: True
repost-ignore:
- exemple.org
- sub.domain.net
cmdalacon:
config_path: /usr/share/pipobot/modules/cmdalacon/pipobot.cfg