Skip to content

Kati3e/KatBot-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KatBot v0.1

About

KatBot runs on the discord.js libaray with Commando support.

Features

  • Reaction based voting with 👍, 👎, 🤷
  • Reaction based polls with 2️⃣ to 🔟 options

Requirements

npm install discord.js
npm install discord.js-commando

Documentation

  • !vote "Do you like to vote?" "I mean who doesn't right?!" 10
    • A yes/no/don't care question to be voted on
      • Must be 10 to 100 characters in length
    • (Optional) Further description of the question
      • Must be 10 to 200 characters in length
    • (Optional) Length of vote in minutes
      • Maximum of 60 minutes
      • defaults to 0, the vote never ends
  • !poll "What's your favourite food?" "Hot Dogs,Pizza,Burgers,Fruits,Veggies" 60
    • A question to be polled on
      • Must be 10 to 100 characters in length
    • 2 to 10 polling choices, comma-separated
      • Must be more than one choice
    • (Optional) Length of vote in minutes
      • Maximum of 60 minutes
      • defaults to 0, the poll never closes

Example Output

Example Output

To do

  • Better permissions / roles handling
  • Add even more features!
    • External database
      • Save votes/polls, current reactions and winner(s)
    • Web interface
      • Allow votes/polls to be done on the web with an easy and fancy interface