https://github.com/zheoni/votabot
A discord bot to create interactive simple polls easily.
https://github.com/zheoni/votabot
bot discord discord-bot discord-js poll
Last synced: about 1 year ago
JSON representation
A discord bot to create interactive simple polls easily.
- Host: GitHub
- URL: https://github.com/zheoni/votabot
- Owner: Zheoni
- License: mit
- Archived: true
- Created: 2018-11-06T20:27:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T08:47:22.000Z (over 5 years ago)
- Last Synced: 2025-03-24T12:34:51.149Z (over 1 year ago)
- Topics: bot, discord, discord-bot, discord-js, poll
- Language: JavaScript
- Homepage: https://discordapp.com/api/oauth2/authorize?client_id=509451579678654468&permissions=68672&scope=bot
- Size: 90.8 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ✅ VotaBot
A discord bot to create interactive simple polls easily.

## Use the bot
To use this bot type `!poll help` to see the commands availables. Be aware that **only administrators or users with
a role named "Poll Creator" can interact with the bot**. The "Poll Creator" role has to be created manually and does not
need any permisssion.
You can also use `!poll examples` to see several examples of how to use the bot.
## Features
- Create polls up to 10 possible answers.
- Create timed polls up to a week.
- See the results of a poll as a percentage.
- Only allow certain users to interact with the bot.
## Host the bot
To host it create a file name "botconfig.json" or rename and edit "botconfig-sample.json" in the bot's folder. In this file must appear the token of the bot, the prefix ("!poll" by default) and, if wanted, a link to invite.
```json
{
"token":"your token",
"prefix":"!poll",
"link":"the link to invite the bot (optional)"
}
```
Then in a command line in the bot's folder use `npm install`.
Now, to start the bot use `node index.js`.
I'm also hosting an instance of the bot you can invite it with this link: