Commit Graph

17 Commits

Author SHA1 Message Date
12adb2a205
plug the cypher system roller into the irc plugin
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-11-07 16:32:06 -06:00
ac16ec99e5
add a Cypher System dice rolling library method
not available to the bot, yet, but that's next

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-11-07 14:33:00 -06:00
994f9ef50b
Revert "replace dice sanity checks as asserts"
not sure why I would have done this, asserts are not great

This reverts commit b917f78ca5.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-11-07 12:24:33 -06:00
76bcdd5fef
config flag for having !dice/!random prefix the nick
with the discord-irc bridge in play, the bot was sending all !roll
results to the bridge user, which wasn't all that useful
2022-07-14 23:00:05 -05:00
ca8798453c fix Dice plugin init 2021-04-24 13:00:18 -05:00
abce0262f3 provide dice_str in exceptions, where applicable 2019-06-29 09:24:16 -05:00
b917f78ca5 replace dice sanity checks as asserts 2019-06-29 09:23:35 -05:00
c2aa3df13f fix some '!= None' checks, rewrite as 'is not None' 2019-06-29 09:23:02 -05:00
6b8dd1a645 dos2unix dice/* 2019-06-22 11:45:09 -05:00
649a148209 don't assert on trials if they aren't provided 2019-06-22 11:43:30 -05:00
8fcc8365e3 add a dice rolling API view to the django app 2019-06-21 18:07:10 -05:00
f78d407d4c move DiceRoller to its own module
while I'm doing that, standardize the usage of raising exceptions when parsing goes wrong
2019-06-21 16:53:40 -05:00
8528152483 remove dice cthulhutech roll. hasn't been used in forever 2019-06-21 16:51:09 -05:00
f2fb0a26a4 remove unnecessary unicode_literal future imports, we py3 now 2019-06-21 15:23:33 -05:00
dbc4e6fe6f rename event._recursing to event.recursing 2017-03-10 18:29:31 -06:00
936db45359 dice: don't address roller when recursing
allows !echo blah [!random foo bar] to reply with "blah bar" rather
than "blah bss: bar", for example
2017-03-02 09:40:23 -06:00
cd23f062a9 collapsing all of dr_botzo one directory 2017-02-04 11:51:22 -06:00