This Discord bot allows you to create and manage polls (votes) in your Discord server. Users can vote on various options, and the bot provides the final results of the poll.
- Create a poll with a title and multiple options.
- Users can react to the options to vote.
- Close the poll and view the voting results.
- Python 3.6 or higher
- discord.py library
- A Discord bot token (see Discord Developer Portal)
python3 -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install -r requirements.txt
DISCORD_TOKEN=your_bot_token_here
-
Start the bot by running the following command:
python3 vote_bot.py
-
Invite the bot to your Discord server using the OAuth2 URL generated in the Discord Developer Portal.
-
!start_vote
Start a new poll. The bot will guide you through creating the poll's title and options. -
!close_vote
Close the current poll and display the voting results. -
Follow the bot's prompts and react to them accordingly to create and manage polls.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to the discord.py library for making it easy to develop Discord bots in Python. Feel free to modify and expand upon this README to include any additional details or acknowledgments specific to your project.