Skip to content

Marusoftware/votebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Votebot

The discord bot for privating voting

Motivation

There are no way to voting privately on discord (sometime reaction was used as an alternative).
I think there are people don't want to reveal opinion (and may be don't want to show who vote).
Votebot is solution of this.

Notice

Currently, there are Japanese messages are hardcoded. If you are not Japanese, we are sorry(I'll fix it. please wait a while). But contribution are welcome.

Get started

There are two ways to use "Votebot".

Usage

This bot is using "slash command".

- /mkvote
Create vote
- /start_vote [Vote ID(optional)] [show_closed(optional)]
Starting vote
If you set show_closed true, The vote id select will show closed one, too.
- /close_vote [Vote ID(optional)] [show_user(optional)]
End vote and show result
If you set show_user true, user name will shown in the result.
- /getOpening
Show all opening vote (name and id) in guild

Installation

Requirement:

  • python3.8 or later
  • poetry package manager
  • discord bot client keys(create in here)

Install deps

git clone https://github.com/Marusoftware/votebot
cd votebot
poetry install

RUN!

poetry run main.py [token]

For more command line usage, please see poetry run main.py --help