Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/whaagmans/polly

Discord bot that allows users to start polls which will be updated live in a visual way through graphs
https://github.com/whaagmans/polly

chart chartjs discord discord-bot discordjs eslint gitignore mit-license nodejs prettier typescript yarn

Last synced: about 2 months ago
JSON representation

Discord bot that allows users to start polls which will be updated live in a visual way through graphs

Awesome Lists containing this project

README

        

# Polly

This is a Discord bot that allows users to create and manage polls, and displays the live standings in a visual bar graph. The bot is built using Node.js and the Discord.js library.

For more information about the structure used to create this discord bot and a easy to use template look here [Discord-bot-typescript-template](https://github.com/Redeamerz/discord-bot-typescript-template)

## Table of Contents

* _Installation_
* _Usage_
* _License_

## Installation

Clone the repository and install the dependencies using either Yarn or NPM:

```sh
# Using Yarn
$ git clone https://github.com/Redeamerz/polly.git
$ cd discord-bot-template/
$ yarn

# Using NPM
$ git clone https://github.com/Redeamerz/polly.git
$ cd discord-bot-template/
$ npm install
```

Create a .env file and add your Discord bot token using the following format:

```makefile
DISCORD_TOKEN=your_bot_token_here
```

## Usage

To run the bot, execute the following command:

```sh
# Using Yarn
$ yarn start

# Using NPM
$ npm start
```

This will start the bot and listen for incoming messages.

## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/Redeamerz/polly/blob/main/LICENSE) file for details.