Humblemonk / DiceMaiden

Dice bot for Discord
Apache License 2.0
125 stars 56 forks source link

!roll 1d6 e4 r3 #75

Closed Xhosant closed 4 years ago

Xhosant commented 4 years ago

As you may expect, the above command will lock the dicebot for quite some time. I did notice that the likes of e1 or r6 are rejected, so I figured you'd care to know that combining the two can bypass the filtering!

Xhosant commented 4 years ago

Off the top of my head, comparing the parameters for e and r to make sure they're not e<=r+1 can filter these behaviors!

Humblemonk commented 4 years ago

Nice catch! Yea a few roll types can break the bot. Instead of just fixing each one that comes along, I will implement a timer of sorts and break out of the roll if its taking too long as to not impact the queue.

Humblemonk commented 4 years ago

This should now be resolved

Humblemonk commented 4 years ago

Going to close this one out by friday