- Discord Webhook URL: Required for sending messages. Obtain it from matoszuc@gmail.com for PMA ONLY server. Otherwise get ur own for local development for ur server.
Follow these steps to set up and run the bot in a Docker environment:
-
Clone the Repository:
git clone https://github.com/martinszuc/dota-discord-bot.git cd dota-discord-bot
-
Set Up the Environment File: Create a
.env
file in the project root directory with the following variables:DISCORD_BOT_TOKEN=<your_discord_bot_token> WEBHOOK_ID=your_webhook_id
-
Build the Docker Image: Run the following command to build the Docker image:
docker-compose build
-
Run the Docker Container: Start the bot using:
docker-compose up
-
Stop the Docker Container: To stop the bot:
docker-compose down
If you encounter any issues or have questions, contact matoszuc@gmail.com