Change example config to so simpleyaml isn't required
This commit is contained in:
parent
d3ba0a6336
commit
a019ce4107
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"bot":{
|
||||||
|
"datadir":"./data/",
|
||||||
|
"rpcbind":"0.0.0.0",
|
||||||
|
"rpcport":1876
|
||||||
|
},
|
||||||
|
"connection":{
|
||||||
|
"server":"irc.freenode.net",
|
||||||
|
"ipv6":"off",
|
||||||
|
"port":6667
|
||||||
|
},
|
||||||
|
"modules":[
|
||||||
|
"PingResponder",
|
||||||
|
"Services"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,11 +0,0 @@
|
||||||
bot:
|
|
||||||
datadir: ./data/
|
|
||||||
rpcbind: 0.0.0.0
|
|
||||||
rpcport: 1876
|
|
||||||
connection:
|
|
||||||
server: irc.freenode.net
|
|
||||||
ipv6: off
|
|
||||||
port: 6667
|
|
||||||
modules:
|
|
||||||
- PingResponder
|
|
||||||
- Services
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"user":{
|
||||||
|
"nick":[
|
||||||
|
"pyircbot3",
|
||||||
|
"pyircbot3_",
|
||||||
|
"pyircbot3__"
|
||||||
|
],
|
||||||
|
"password":"nickservpassword",
|
||||||
|
"username":"pyircbot3",
|
||||||
|
"hostname":"pyircbot3.domain.com",
|
||||||
|
"realname":"pyircbot3"
|
||||||
|
},
|
||||||
|
"ident":{
|
||||||
|
"enable":"no",
|
||||||
|
"to":"nickserv",
|
||||||
|
"command":"identify %(password)s",
|
||||||
|
"ghost":"no",
|
||||||
|
"ghost_to":"nickserv",
|
||||||
|
"ghost_cmd":"ghost %(nick)s %(password)s"
|
||||||
|
},
|
||||||
|
"channels":[
|
||||||
|
"#xmopx"
|
||||||
|
],
|
||||||
|
"privatechannels":{
|
||||||
|
"to":"chanserv",
|
||||||
|
"command":"invite %(channel)s",
|
||||||
|
"list":[
|
||||||
|
"#aprivatechannel"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,23 +0,0 @@
|
||||||
user:
|
|
||||||
nick:
|
|
||||||
- pyircbot3
|
|
||||||
- pyircbot3_
|
|
||||||
- pyircbot3__
|
|
||||||
password: nickservpassword
|
|
||||||
username: pyircbot3
|
|
||||||
hostname: pyircbot3.domain.com
|
|
||||||
realname: pyircbot3
|
|
||||||
ident:
|
|
||||||
enable: no
|
|
||||||
to: nickserv
|
|
||||||
command: identify %(password)s
|
|
||||||
ghost: yes
|
|
||||||
ghost_to: nickserv
|
|
||||||
ghost_cmd: ghost %(nick)s %(password)s
|
|
||||||
channels:
|
|
||||||
- "#xmopx"
|
|
||||||
privatechannels:
|
|
||||||
to: chanserv
|
|
||||||
command: invite %(channel)s
|
|
||||||
list:
|
|
||||||
- "#aprivatechannel"
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pyircbot --config config.yml
|
pyircbot --config config.json
|
||||||
|
|
Loading…
Reference in New Issue