From a2b5d3465cf6dea8bc09c63c91cacaad2e7c534c Mon Sep 17 00:00:00 2001 From: janderedev Date: Sat, 9 Apr 2022 17:13:31 +0200 Subject: [PATCH] add new env vars to docker config --- .env.example | 10 ++++++++++ docker-compose.yml.example | 2 ++ 2 files changed, 12 insertions(+) diff --git a/.env.example b/.env.example index 622a543..d3436a9 100644 --- a/.env.example +++ b/.env.example @@ -17,6 +17,16 @@ BOT_TOKEN= # Leave empty to keep default ("/") BOT_PREFIX= +# List of messages to display in the bot's status, separated +# by '||'. Available "variables": {{servers}}, {{users}}, +# {{infractions_total}} and {{ping_ms}}. The bot will +# periodically cycle between these messages. Only works if +# BOT_STATUS_INTERVAL is also set. +BOT_STATUS= + +# Delay (in seconds) between status changes. +BOT_STATUS_INTERVAL= + # Private token used by the bot to communicate # with the API. Keep this private! INTERNAL_API_TOKEN= diff --git a/docker-compose.yml.example b/docker-compose.yml.example index 9884f23..7dd7a1a 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -21,6 +21,8 @@ services: - BOT_PREFIX - BOT_METRICS_PORT - BOT_METRICS_MSG_PING_CHANNEL + - BOT_STATUS + - BOT_STATUS_INTERVAL # Uncomment if you enabled Prometheus metrics #ports: # - 127.0.0.1:${BOT_METRICS_PORT}:${BOT_METRICS_PORT}