summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorPratyush Desai2024-09-28 19:43:10 +0200
committerPratyush Desai2024-09-28 19:43:10 +0200
commita475bc2f428c6fb6905f3f2896b5477a6e361f32 (patch)
tree3ba1171b3795f90ecabea7d217b56643dff2b3b9 /config.example.yaml
parentf4a9607770cc4f84431332ab4cdb7e292d037275 (diff)
parent0a90b6e483bcf6d57030cc7f26f2a3b1a819b37e (diff)
downloadwatbot-a475bc2f428c6fb6905f3f2896b5477a6e361f32.tar.gz
watbot-a475bc2f428c6fb6905f3f2896b5477a6e361f32.tar.bz2
watbot-a475bc2f428c6fb6905f3f2896b5477a6e361f32.zip
Merge pull request 'Implement configuration file + automatic channel joining' (#14) from config into master
Reviewed-on: https://git.com.de/LibertaCasa/watbot/pulls/14
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml
new file mode 100644
index 0000000..5d3fbac
--- /dev/null
+++ b/config.example.yaml
@@ -0,0 +1,20 @@
+watbot:
+ server:
+ host: irc.casa # mandatory, no default
+ port: 6697
+ tls_verify: true
+ name: watest
+ nick: watest # nick is name by default
+ user: watest # user is nick by default
+ admins: # optional, no default
+ hosts:
+ - admin.example.com
+ ignores: # optional, no default
+ hosts:
+ - annoying.example.com
+ channels: # optional, no default
+ join:
+ - crantest # channels without a prefix character will be prefixed with "#"
+ permitted:
+ - '#lucy'
+