The script updates channels #nfkplanet and #donate on NFK Community Discord server.
-
Install docker on your system
-
Build the image
docker build -t local/discord-status-bot .
-
Rename
config.php.example
toconfig.php
-
Set
discord_token
inside config -
Run the image
docker run -v <path_to_config.php>:/app/config.php:ro [ **-e** *option=value*] local/discord-status-bot
Available options are:
UPDATE_PERIOD — How often to run the scripts. Beware of discord API limits (default: 60)
PLANET_ENABLED — Enable updating #nfkplanet channel (default: 1)
DONATE_ENABLED — Enable updating #donate channel (default: 0)