From 0922d9fe9a439b3451d0f5de86499c10bff17cb5 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 8 Jun 2020 16:19:45 +0200 Subject: add sample configuration as separate file --- README.md | 2 +- ezau-sample.toml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 ezau-sample.toml diff --git a/README.md b/README.md index 8a48ef2..7d6d1cc 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Configuration By default, `ezau` looks for `ezau.toml` in the current directory. You can use `-c` to specify a different configuration file. -A full example configuration is provided here: +A full example configuration is provided here or alternatively as `ezau-sample.toml`: ```toml # Whether logs should be uploaded. diff --git a/ezau-sample.toml b/ezau-sample.toml new file mode 100644 index 0000000..a18d6ad --- /dev/null +++ b/ezau-sample.toml @@ -0,0 +1,21 @@ +# Whether logs should be uploaded. +# If this is false, ezau will only zip new logs and do no further processing. +# (mandatory) +upload = false + +# Whether logs with an unknown boss should be uploaded. +# By default, ezau only uploads logs with bosses known to evtclib. +# (optional) +upload_unknown = false + +# Discord messaging section. +# If this section is missing, ezau will not do Discord notifications for log uploads. +# Mandatory keys in this section are only mandatory if the section is present, as the whole Discord functionality is optional. +# (optional) +[discord] +# Auth token for a bot account. +# (mandatory) +auth_token = "foobar" +# Channel ID of the channel to which the message should be posted. +# (mandatory) +channel_id = 123 -- cgit v1.2.3