iansan5653 / discord-votemaster

Advanced polling bot for Discord.
MIT License
8 stars 8 forks source link
bot discord poll polling-bot vote

discord-votemaster

This is the beginnings of a complex polling bot for Discord, allowing for advanced polls with many options, vote restrictions, and even graphs of results.

Syntax

To make new polls:

!newpoll "poll name" [Option 1, Option 2] --yn|yesno --num|numbers --lock --blind --time|timeout 5 --mult|multiple --rxn|reactions --maybe|idk --pub|public --role "role" --lo|leaveopen|dontcloseearly --color 2555834

To vote:

!vote #PollID Option

To request results:

!results #PollID --users|detail --chart|graph

Testing

To set up the bot on your machine, you will need Node.js installed. Clone the repo, follow the instructions in "private_example.js" and save as "private.js", add the bot to your server, and finally run node index.js in a command window in the folder with the code.