mirror of
https://github.com/a-bad-dev/irc2bash.git
synced 2026-06-09 00:51:32 +00:00
Add configuration file support
This commit is contained in:
parent
012ba9fc2f
commit
4fab129a1e
2 changed files with 29 additions and 7 deletions
19
skel_config.py
Normal file
19
skel_config.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
user = {
|
||||
"realname": "setme",
|
||||
"nickname": "setme",
|
||||
"channels": ["##join", "##these", "##channels"]
|
||||
}
|
||||
|
||||
server = {
|
||||
"ip": "irc.serv.net",
|
||||
"port": 6667,
|
||||
"sock_timeout": 60,
|
||||
"sock_sendbuf": 512,
|
||||
"sock_recvbuf": 512
|
||||
}
|
||||
|
||||
bot = {
|
||||
"command_prefix": "$!",
|
||||
"bot_prefix": "$$",
|
||||
"opper_nicknames": ["nicknamehere"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue