PollBot is a discord bot to create polls
The question must comes as first argument after the /poll
All arguments must comes between double quotes
You can optionally add choices.
/poll "Question"
or
/poll "Question" "Choice A" "Choice B" "Choice C"
Straightforward python deployment:
git clone https://github.com/livxy/PollBot.git
cd PollBot
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
The discord bot token can be stored in a .env
file, located in the script folder.
# .env file
DISCORD_TOKEN=my_bot_token
Run with
python PollBot.py
Icon based on Freepik from www.flaticon.com