aboutsummaryrefslogtreecommitdiff
path: root/sample-config.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sample-config.toml8
1 files changed, 7 insertions, 1 deletions
diff --git a/sample-config.toml b/sample-config.toml
index 360e902..f81e9ed 100644
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -20,7 +20,8 @@ interval = "5s" # required
summary = "sample bot" # optional
# deduplication window, 0 by default, which is NO deduplication
dedupWindow = "30s" # optional
-# avatar url
+# url to the avatar
+# this is downloaded/updated every time the server is restarted
avatarUrl = "https://loremflickr.com/320/240/dog" # optional
# expected content type of avatar url
avatarContentType = "image/jpeg" # required (if using avatarUrl)
@@ -29,3 +30,8 @@ avatarContentType = "image/jpeg" # required (if using avatarUr
# name = "another"
# exec = "another-cgi-handler.sh"
# interval = "10"
+
+# [[handlers]]
+# name = "yetAnother"
+# exec = "yet-another-cgi-handler.sh"
+# interval = "10" \ No newline at end of file