This repository contains a Discord bot that supports voting on predictions using commands. The bot is containerized via Docker and is structured for easy addition of new commands.
- Clone the Repository:
git clone https://github.com/yourusername/pickem-command.git cd pickem-command - Install Dependencies:
npm install
- Build the Docker Image:
docker build -t pickem-command . - Run the Docker Container:
Replace
docker run -d --name pickem-command -e DISCORD_TOKEN=your_token_here pickem-command
your_token_herewith your actual Discord bot token. - Access the Bot: The bot will be running and can be invited to your Discord server.
The bot currently supports the following commands:
/vote: Vote on a TOI (Time On Ice) prediction. This command uses interactive embeds and buttons for recording Over and Under votes./checkwinner: Compares the prompt TOI to the actual final TOI (using game data) and announces winners for the Over/Under prediction in an embed.