Commit Graph

14 Commits

Author SHA1 Message Date
Brian S. Stephan 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
Brian S. Stephan ca8798453c fix Dice plugin init 2021-04-24 13:00:18 -05:00
Brian S. Stephan abce0262f3 provide dice_str in exceptions, where applicable 2019-06-29 09:24:16 -05:00
Brian S. Stephan b917f78ca5 replace dice sanity checks as asserts 2019-06-29 09:23:35 -05:00
Brian S. Stephan c2aa3df13f fix some '!= None' checks, rewrite as 'is not None' 2019-06-29 09:23:02 -05:00
Brian S. Stephan 6b8dd1a645 dos2unix dice/* 2019-06-22 11:45:09 -05:00
Brian S. Stephan 649a148209 don't assert on trials if they aren't provided 2019-06-22 11:43:30 -05:00
Brian S. Stephan 8fcc8365e3 add a dice rolling API view to the django app 2019-06-21 18:07:10 -05:00
Brian S. Stephan 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
Brian S. Stephan 8528152483 remove dice cthulhutech roll. hasn't been used in forever 2019-06-21 16:51:09 -05:00
Brian S. Stephan f2fb0a26a4 remove unnecessary unicode_literal future imports, we py3 now 2019-06-21 15:23:33 -05:00
Brian S. Stephan dbc4e6fe6f rename event._recursing to event.recursing 2017-03-10 18:29:31 -06:00
Brian S. Stephan 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
Brian S. Stephan cd23f062a9 collapsing all of dr_botzo one directory 2017-02-04 11:51:22 -06:00