An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# ✅ VotaBot

A discord bot to create interactive simple polls easily.

![Image of a poll](images/readme-image.png)

## 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: