Humblemonk / DiceMaiden

Dice bot for Discord
Apache License 2.0
117 stars 51 forks source link

Reroll change to give greater-than or less-than reroll options #208

Open Zahaqiel opened 1 year ago

Zahaqiel commented 1 year ago

Currently the "r" command allows for rerolls on results that are equal to or less than the indicated number. That's useful in some games, but the opposite of useful in others (like D&D where one might want to reroll a high roll to confirm a critical hit).

My suggestion is that r be changed to r> and r< as in "reroll greater than" and "reroll less than", that way you can simply direct which way you mean.

ie: /r 1d20 r>17 means it'll roll 1d20 and give a reroll if the result is 17 or higher. /r 1d20 r<17 means it'll roll 1d20 and give a reroll if the result is 17 or lower.