aboutsummaryrefslogtreecommitdiff
path: root/modules/dice.py
Commit message (Collapse)AuthorAgeFilesLines
* implement command spec modifiers, use for `pattern`, use pattern for dice.pyGravatar jesopo2020-02-151-33/+27
|
* tolerate spaces in dice modifiersGravatar jesopo2020-01-141-3/+5
|
* default !roll to 1d6Gravatar jesopo2019-09-261-2/+8
|
* make dice count optional (default 1)Gravatar jesopo2019-09-261-2/+2
|
* Show dice format error when regex doesn't matchGravatar jesopo2019-09-261-0/+2
|
* only permit 3-digit modifiersGravatar jesopo2019-09-261-1/+1
|
* also show "total" when there's modifiersGravatar jesopo2019-09-261-2/+2
|
* fine. support up to d100Gravatar jesopo2019-09-261-7/+9
|
* allow up to d30, not just d20Gravatar jesopo2019-09-261-3/+3
|
* add !dice as an alias of !rollGravatar jesopo2019-09-261-0/+1
|
* support +/- modifiers on dice !rollGravatar jesopo2019-09-261-14/+27
|
* Remove "!" from help stringsGravatar jesopo2019-06-181-1/+1
|
* Add `depends-on` hashflags to relevant modulesGravatar jesopo2019-05-251-0/+2
|
* range()'s upper bound is not inclusiveGravatar jesopo2018-11-171-1/+1
|
* now i see why it was %s not %dGravatar jesopo2018-11-171-2/+2
|
* How hard is it to refactor a dice moduleGravatar jesopo2018-11-171-1/+1
|
* ints are not stringsGravatar jesopo2018-11-171-1/+1
|
* 'reults' -> 'results'Gravatar jesopo2018-11-171-1/+1
|
* 'die_sides' 'die_count' -> 'sides_n' 'count_n'Gravatar jesopo2018-11-171-1/+1
|
* Should be using `sides` and `count`, not `roll[0]` and `roll[1]`Gravatar jesopo2018-11-171-2/+2
|
* .partition returns 3 values!Gravatar jesopo2018-11-171-1/+1
|
* Simplify modules/dice.pyGravatar jesopo2018-11-171-17/+8
|
* we need strings!Gravatar jesopo2018-11-161-1/+1
|
* `results` was already a ", ".joined stringGravatar jesopo2018-11-161-1/+0
|
* second format arg should have been `results`Gravatar jesopo2018-11-161-1/+1
|
* Fix string formatting of modules/dice.pyGravatar jesopo2018-11-161-4/+6
|
* Change all instances of stdout.write+return to `raise utils.EventError` inGravatar jesopo2018-10-161-4/+2
| | | | modules
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules ofGravatar jesopo2018-10-031-5/+4
| | | | related functionality
* Switch to using docstring for usage, permission and require_modeGravatar jesopo2018-09-301-2/+3
|
* Switch to using @Utils.hook and docstrings for event hooksGravatar jesopo2018-09-261-13/+9
|
* Move most code in root directory to src/Gravatar jesopo2018-09-241-1/+1
|
* give an Exports object (actually, ExportsContex object) to each module, toGravatar jesopo2018-09-021-1/+1
| | | | facilitate things like !set and !channelset without using the events system
* Cosmetic enhancement for ducks and dice.Gravatar dngfx2018-09-011-4/+4
|
* Remove superfluous code from ducks.py and introduce dice.py (DND rolling ↵Gravatar dngfx2018-09-011-0/+43
function .roll 1d20)