Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 753 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 753 Bytes

Discord Status Bot

The script updates channels #nfkplanet and #donate on NFK Community Discord server.

Docker installation

  1. Install docker on your system

  2. Build the image

docker build -t local/discord-status-bot .
  1. Rename config.php.example to config.php

  2. Set discord_token inside config

  3. 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)