Use config.example.py and modify my relay configs

This commit is contained in:
Hedy Li 2021-10-07 17:33:27 +08:00
parent 71a9cdba05
commit 83c4ad16e7
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
3 changed files with 24 additions and 19 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
__pycache__
config.py

23
config.example.py Normal file
View File

@ -0,0 +1,23 @@
# for relay.py
SERVERS = {
"libera": {
"connection": ("irc.libera.chat", 6697, True),
"chans": ["#hedy"],
},
"tilde": {
"connection": ("irc.tilde.chat", 6697, True),
"chans": ["##hedy"]
},
"foxies": {
"connection": ("foxes.are.allowed.org", 6697, True),
"chans": ["#hedy!"]
}
}
NICKNAME = 'hedyrelay'
ADMINS=['hedy', 'julian']
NOPING=['hedy']

View File

@ -1,19 +0,0 @@
# for relay.py
SERVERS = {
"freenode": {
"connection": ("chat.freenode.net", 6697, True),
"chans": ["#hedy", "#hedy2"],
},
"tilde": {
"connection": ("irc.tilde.chat", 6697, True),
"chans": ["##hedy"]
},
}
NICKNAME = 'hrelay'
ADMINS=['hedy', 'hedyli']
NOPING=[]