# Improve dice rolling for discourse-narrative-bot

**URL:** <https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177>\
**Category:** Development\
**Created:** [April 16, 2019, 4:50am UTC](https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177 "2019-04-16T04:50:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![neemiasvf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neemiasvf/32/197028_2.png) [@neemiasvf](https://meta.discourse.org/u/neemiasvf)\
**Post date:** [April 16, 2019, 4:50am UTC](https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177/1 "2019-04-16T04:50:32Z")

</div>

Although @discobot has a dice roller, it’s too simple. It’s not **yet** capable of rolling complex dice and formulas for specific needs. So, I’d like to improve this feature and make it possible to run dice like `1d20+5`, `1d20+2 + 2d12-1`, `5d10k2` and so on…

I submitted this PR and would very much appreciate reviews and thoughts about it. Thanks! 🙂

[https://github.com/discourse/discourse/pull/7381](https://github.com/discourse/discourse/pull/7381)

---

_[View the full topic](https://meta.discourse.org/t/improve-dice-rolling-for-discourse-narrative-bot/115177)._
