Private poll bot for Discord

Words
208
Reading
1 min
Listen
Play
9y

About


The name says it all. This bot allows users to create private polls on Discord
When a poll is started, it will send a private message to users in the mentioned group.
Once all users have voted, the bot will present the tallied votes.

How it works


Step 1: User creates a poll using the !vote private command
image.png

Step 2: Bot sends a private message to mentioned users
image.png

Step 3: User votes with the !vote vote command
image.png

Step 4: When all votes are placed, bot displays results
image.png

Technologies


The bot is written in Node.js using the Discordjs plugin

Future


  • Document code
  • Users can stop polls manually
  • Ability to mention multiple users without needing a group
  • Polls that close after an amount of time
  • Improve message contents
  • Implement multiple voting methods (Ranked systems)
  • Users can change their vote before the poll closes

Contribute


Github link: https://github.com/Aree-Vanier/Private-Voting-Bot
Feel free to fork the project, however the code is currently not well documented (Documenting is first priority).
If you know of a good place to host a bot (preferably for free), suggestions are greatly appreciated.
Any bugs can be reported to the issues page on github.



Posted on Utopian.io - Rewarding Open Source Contributors

Private poll bot for Discord | Ecency