idkclub / dicebot

🎲 /roll support for Slack
https://dicebot.idk.club
The Unlicense
54 stars 20 forks source link

Dicebot is bad at Math #30

Closed Krule closed 6 years ago

Krule commented 6 years ago

/roll 1d1 + 4 * 10

rolled 1 + 4 × 10 = 50

arkie commented 6 years ago
screen shot 2017-11-22 at 09 52 09

Dicebot is fine at math, it just evaluates left to right to avoid the need for parentheses in the syntax 👍