Skip to content

Commands_en

chemipon edited this page Mar 25, 2022 · 10 revisions

WARNING: translated from JP and it may be unprecise.

Command Reference

Default Prefix

Default Prefix is ~.

help

Display help.

~help

ping

Return "pong."

~ping

pingpong

vote

Start vote.

Basics

Input

~vote [Title of a vote] [choice1] [choice2] ... (up to 20 choices)

to make a vote.

vote1-en

Next one is an vote example of maximum choices.

vote2-en

Push a button of the desired choice to vote/unvote.

voting causes immediate update of numbers of votes and percentage of votes.

(The sum of percentages may not add up to 100% due to the cut off after decimal point.)

To end/restart vote, push "End/Restart" button.

vote1-voted-en

Add Description

Add

-d [Description]

to make a description of a vote.

vote3-en

Enable Multi-selection

Add

-x [Max number of selection]

to enable Multi-selection.

vote4-en

If you select more than the Max number(If not specified, it's 1), the bot warns about it in DM.

vote_error

If you want to make a vote that it's valid to select a same option multiple times, add

-p

as well. In this case, you cannot unvote.

vote5-en

Set a due

Add

-t [Due written in RFC3339]

to end a vote automatically when it's due.

vote4

How RFC3339 format works is roughly explained in here. Technical detail here.

Restrict unvote

Add

-n

to restrict unvote.

The bot will warn you in DM if you try to unvote in this case.

vote_error2

Anonymous Voting

Add

-a

to hide who voted.

vote5

Mask Progress

Add

-m

to hide the progress.

vote6-en

Result is shown when you end the vote.

vote6-voted-en

Clone this wiki locally