zulip/zulip

Coin flips / die rolls, with results shared in the topic/DM

Open

#22.045 geöffnet am 12. Mai 2022

Auf GitHub ansehen
 (18 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (19.672 Stars) (7.339 Forks)batch import
area: widgets (polls/todo/etc)help wanted

Beschreibung

I'd love to have a command to roll a die or flip a coin, accepting dice expressions. The server would roll the die, and fill in the result like this:

User types: /roll 2d20 Message says: * User rolled 2d20: 12, 17 (total 29)

(The value of the die roll should be preserved in message history, and not re-rolled if the message is edited. If the message or the roll is deleted, or the roll expression is edited, ideally the "(edited)" tag on the message would also say something like "roll changed".)

Contributor Guide