Commit Graph

4 Commits

Author SHA1 Message Date
Brian S. Stephan f09a41bce0 Dispatch: better (aka correct) db_init section 2013-05-03 15:59:49 -05:00
Brian S. Stephan 9b7cbadce6 rename Module.new_sendmsg() -> Module.sendmsg()
remove the deprecated method as well, of course
2013-02-09 15:11:38 -06:00
Brian S. Stephan 475fa73bf3 Dispatch: encode('utf-8') XML-RPC input 2013-01-12 10:10:32 -06:00
Brian S. Stephan 947e82b78f Dispatch: send messages to channels via XML-RPC
keep a collection of key-channel pairs that, when receiving an XML-RPC
dispatch message with a key and message, sends the message to the
associated channel. this allows for various notification bus style stuff

this is the barebones version, there's no IRC admin interaction yet, so
all key-channel pairs need to be managed by direct database access. it
is possible i won't bother changing this. there are also some
not-so-clever assumptions, like that the bot is already in the channel
it is trying to speak in
2013-01-04 10:17:07 -06:00