Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/whaagmans/polly
- Owner: whaagmans
- License: mit
- Created: 2023-04-04T11:43:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T07:09:11.000Z (9 months ago)
- Last Synced: 2024-04-08T08:27:59.412Z (9 months ago)
- Topics: chart, chartjs, discord, discord-bot, discordjs, eslint, gitignore, mit-license, nodejs, prettier, typescript, yarn
- Language: TypeScript
- Homepage:
- Size: 303 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.