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}