mikeshardmind / salamander-v1

Apache License 2.0
6 stars 0 forks source link

dice command needs further restriction of valid expressions. #60

Closed mikeshardmind closed 2 years ago

mikeshardmind commented 2 years ago

Expected Behavior

should reject keeping a number of dice larger than what was rolled

Current Behavior

image

Possible Solution

user-facing error about this.

Steps to Reproduce

  1. roll 2d20^7

Addtional Context

It's a clear misuse resulting in surprising output, it's worth improving handling of this.