jesopo
|
2c8b3749cf
|
default !roll to 1d6
|
2019-09-26 14:48:05 +01:00 |
|
jesopo
|
17c899fb70
|
make dice count optional (default 1)
|
2019-09-26 14:32:48 +01:00 |
|
jesopo
|
c5b9a13b53
|
Show dice format error when regex doesn't match
|
2019-09-26 14:32:20 +01:00 |
|
jesopo
|
ab51bbaefa
|
only permit 3-digit modifiers
|
2019-09-26 14:31:38 +01:00 |
|
jesopo
|
0c211528ef
|
also show "total" when there's modifiers
|
2019-09-26 14:22:56 +01:00 |
|
jesopo
|
e2ececa9fd
|
fine. support up to d100
|
2019-09-26 14:15:54 +01:00 |
|
jesopo
|
3f71674369
|
allow up to d30, not just d20
|
2019-09-26 14:09:59 +01:00 |
|
jesopo
|
55c354cebb
|
add !dice as an alias of !roll
|
2019-09-26 14:06:58 +01:00 |
|
jesopo
|
8dc415fa4b
|
support +/- modifiers on dice !roll
|
2019-09-26 14:04:59 +01:00 |
|
jesopo
|
77ea95f0a9
|
Remove "!" from help strings
|
2019-06-18 17:33:42 +01:00 |
|
jesopo
|
268c5adb3c
|
Add depends-on hashflags to relevant modules
|
2019-05-25 21:40:06 +01:00 |
|
jesopo
|
7ef8437d44
|
range()'s upper bound is not inclusive
|
2018-11-17 12:29:24 +00:00 |
|
jesopo
|
0da18aa86d
|
now i see why it was %s not %d
|
2018-11-17 12:26:21 +00:00 |
|
jesopo
|
9054ee7cd2
|
How hard is it to refactor a dice module
|
2018-11-17 12:25:14 +00:00 |
|
jesopo
|
349c9a0190
|
ints are not strings
|
2018-11-17 12:23:49 +00:00 |
|
jesopo
|
692c79c745
|
'reults' -> 'results'
|
2018-11-17 12:23:06 +00:00 |
|
jesopo
|
d130b0e59b
|
'die_sides' 'die_count' -> 'sides_n' 'count_n'
|
2018-11-17 12:22:05 +00:00 |
|
jesopo
|
0f8a3231c6
|
Should be using sides and count , not roll[0] and roll[1]
|
2018-11-17 12:21:09 +00:00 |
|
jesopo
|
97b2158956
|
.partition returns 3 values!
|
2018-11-17 12:19:32 +00:00 |
|
jesopo
|
73ecb42ca9
|
Simplify modules/dice.py
|
2018-11-17 12:18:26 +00:00 |
|
jesopo
|
39c313bd64
|
we need strings!
|
2018-11-16 17:43:05 +00:00 |
|
jesopo
|
b008bb2a0f
|
results was already a ", ".joined string
|
2018-11-16 17:42:00 +00:00 |
|
jesopo
|
8e5415b887
|
second format arg should have been results
|
2018-11-16 17:40:49 +00:00 |
|
jesopo
|
b176701e0a
|
Fix string formatting of modules/dice.py
|
2018-11-16 17:39:33 +00:00 |
|
jesopo
|
773d11f6cb
|
Change all instances of stdout.write+return to raise utils.EventError in
modules
|
2018-10-16 15:09:58 +01:00 |
|
jesopo
|
69d58eede2
|
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
|
2018-10-03 13:22:37 +01:00 |
|
jesopo
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|
jesopo
|
51a52e2b0e
|
Switch to using @Utils.hook and docstrings for event hooks
|
2018-09-26 18:27:17 +01:00 |
|
jesopo
|
ecb9d7cb3f
|
Move most code in root directory to src/
|
2018-09-24 15:13:27 +01:00 |
|
jesopo
|
8c6ab17e57
|
give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
|
2018-09-02 19:54:45 +01:00 |
|
dngfx
|
0a96a79077
|
Cosmetic enhancement for ducks and dice.
|
2018-09-01 10:52:04 +01:00 |
|
dngfx
|
3f66940e77
|
Remove superfluous code from ducks.py and introduce dice.py (DND rolling function .roll 1d20)
|
2018-09-01 10:22:44 +01:00 |
|