summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorPratyush Desai2021-10-16 11:43:34 +0530
committerPratyush Desai2021-10-16 11:43:34 +0530
commit8cacf16cb94920033b8d0c491eb7d931d552e98c (patch)
tree676e70928f95fb112981d46b2c74921bb44d6700 /config.py
parenta321b6584d6dc11ed800cbceef3e68cbc63aac9a (diff)
downloadsnoparser-8cacf16cb94920033b8d0c491eb7d931d552e98c.tar.gz
snoparser-8cacf16cb94920033b8d0c491eb7d931d552e98c.tar.bz2
snoparser-8cacf16cb94920033b8d0c491eb7d931d552e98c.zip
fix target chan issues
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to 'config.py')
-rw-r--r--config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.py b/config.py
index 0e59428..10df78b 100644
--- a/config.py
+++ b/config.py
@@ -61,6 +61,9 @@ SnoParser = conf.registerPlugin('SnoParser')
#conf.registerNetworkValue(SnoParser, 'targetChannel', ValidChannel,
# ("", ("""Determines which channel the bot should send snolines""")))
+conf.registerNetworkValue(SnoParser, 'targetChannel',
+ registry.String("", ("""Determines which channel the bot should snolines example: `#snotices`""")))
+
conf.registerGlobalValue(SnoParser, 'AutoVhost',
registry.String('libcasa/user/', ("""Configure the vhost eg. libcasa/user/$account""")))