diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | ezau-sample.toml | 21 |
2 files changed, 22 insertions, 1 deletions
@@ -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 |