From bde9a8defb73399e5174794d7bb20907f8716832 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sat, 21 Sep 2024 16:06:04 +0200 Subject: Implement configuration file Abstract settings which commonly differ between instances to a YAML based configuration file to allow for easy administration without the need for modifying the source code. Signed-off-by: Georg Pfuetzenreuter --- config.example.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config.example.yaml (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml new file mode 100644 index 0000000..ce0a6e3 --- /dev/null +++ b/config.example.yaml @@ -0,0 +1,18 @@ +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 + permitted: + - '#lucy' + -- cgit v1.2.3