Commit Graph

24 Commits

Author SHA1 Message Date
Brian S. Stephan 998153c511 add a !weather command to the bot 2019-10-06 10:15:06 -05:00
Brian S. Stephan 5660af1614 genericize request methods in DrBotzoBackend 2019-10-06 10:14:43 -05:00
Brian S. Stephan cfb7cdf6b2 markov.py: get context/target from guild or author rather than hardcoded 2019-09-29 12:55:53 -05:00
Brian S. Stephan 10fdf5f33c dice.py: remove unnecessary duplicate response.raise_for_status 2019-09-29 12:16:57 -05:00
Brian S. Stephan 859c164fea add markov plugin for learning/replying to chatter 2019-09-29 12:16:09 -05:00
Brian S. Stephan 8f0ae10fd4 dos2unix **/* 2019-07-01 12:11:17 -05:00
Brian S. Stephan 061a15caa3 give better output to discord of dice rolls, handle errors 2019-06-29 10:55:26 -05:00
Brian S. Stephan 5e4bcf6b1c add error detail handling to DrBotzoBackend
written for expecting a JSON with detail in an error response, but might
also decently handle the other cases
2019-06-29 10:55:07 -05:00
Brian S. Stephan f048d7c193 add basic form of dice rolling via dr.botzo
not done yet, just getting the code out there for now
2019-06-22 11:52:41 -05:00
Brian S. Stephan d4ea843088 logging tweaks 2019-06-22 11:16:02 -05:00
Brian S. Stephan f9baa76a24 reset the hitomi project, remove django, rebuild deps 2019-06-22 10:39:56 -05:00
Brian S. Stephan 6cef90cf7b fix typo in default setting name 2018-01-17 10:37:43 -06:00
Brian S. Stephan 347f8f83bf Merge branch 'master' of git.incorporeal.org:bss/hitomi 2018-01-17 10:32:20 -06:00
Brian S. Stephan 69906aa474 add configuration for the bot command prefix 2018-01-17 10:26:52 -06:00
Brian S. Stephan 80d0fd1263 Merge branch 'master' of git.incorporeal.org:bss/hitomi 2018-01-10 14:55:59 -06:00
Brian S. Stephan 46754d6979 serve up a blank / 2018-01-10 14:54:51 -06:00
Brian S. Stephan 00645e8d93 allow specifying port for the API to listen on 2018-01-10 12:47:47 -06:00
Brian S. Stephan 51edb54ed7 add markov module and irc plugin
just listens to servers right now, doesn't speak up (yet)
2018-01-10 09:38:12 -06:00
Brian S. Stephan 793fdb0e84 config option for loading bot "plugins"
as it turns out, i can't use a module __init__.py to load bot stuff, if
that code would refer to django models, because the django code will try
to do stuff before the apps are initialized, and then the entire house
of cards crumbles apart.

so, i will explicitly load these bot "plugins" separately, after the
modules proper are all initialized
2018-01-09 15:18:38 -06:00
Brian S. Stephan 50a5c3d94a allow supplying max_messages to the discord bot 2018-01-09 13:30:21 -06:00
Brian S. Stephan 213b9ff400 add logger module, logs new/edit/delete msgs
this logs these messages to a file directory. more stuff may get added
eventually
2018-01-09 13:28:33 -06:00
Brian S. Stephan 114df6fd1b add weather module, for reporting the weather
stolen from dr.botzo
2018-01-08 16:30:20 -06:00
Brian S. Stephan 3850595b14 add dice module, give it a !choose 2018-01-08 10:21:30 -06:00
Brian S. Stephan 1ef8318f67 start Django project, add basic Discord bot
doesn't do much other than connect, but the idea generally works, so
hooray?

now just to make sure i can actually use the decorator in other modules
properly
2018-01-08 09:30:31 -06:00