idkclub / dicebot

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

Add Support for Modifiers #20

Closed adanvdo closed 7 years ago

adanvdo commented 7 years ago

This slack app is pretty sweet, but it would be even sweeter if you could specify a modifier to be added to the roll. I added this to a D&D team that I started and the modifier would make it perfect for playing out scenarios.

Example: /roll 1d20+3 would get the random roll for a 20-sided die and add 3 to it.

arkie commented 7 years ago

I'm not sure I follow - that should be working? Closing out pending an example roll you can give where it isn't being processed with the modifier?

screen shot 2017-03-17 at 22 55 48
adanvdo commented 7 years ago

That is completely my fault. I didn't try it. I just assumed it wasn't supported because I didn't see it in the documentation. Thank you!

On Mar 18, 2017 1:57 AM, "Jon Caldwell" notifications@github.com wrote:

I'm not sure I follow - that should be working? Closing out pending an example roll you can give where it isn't being processed with the modifier?

[image: screen shot 2017-03-17 at 22 55 48] https://cloud.githubusercontent.com/assets/232986/24069410/fe1cda5c-0b64-11e7-8b40-d989966a967a.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arkie/hackyslack2/issues/20#issuecomment-287519184, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRT2BdbGXfIWwCAdGZeHPQYGd-LLMmoks5rm3JLgaJpZM4MhTNa .

arkie commented 7 years ago

Hehe, there are a whole bunch of requested features not documented in the documentation (pull requests accepted 😉)