dr.botzo/modules
Brian S. Stephan 08d08d537e Echo: wrap echo() for the XML-RPC server
this serves as a good example of how to reuse code for the XML-RPC
interface. we wrap it for convenience, so that all that needs to be
supplied to the web service method is the message to echo. of course,
other modules can wrap things how they feel the need to, even adding
authentication, i guess, if they wanted

note that it doesn't unregister the XML-RPC method. for starters, i
didn't add an unregister to DrBotIRC, so it can't, and secondly, it
looks like reregistering overwrites the old one. this hasn't been
extensively tested but that's what i'm seeing
2012-12-20 10:36:53 -06:00
..
Achievements.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Acro.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Babelfish.py Module: remove reply(), use DrBotIRC's 2012-12-19 20:51:35 -06:00
Countdown.py Module: remove reply(), use DrBotIRC's 2012-12-19 20:51:35 -06:00
Dice.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Echo.py Echo: wrap echo() for the XML-RPC server 2012-12-20 10:36:53 -06:00
EightBall.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Facts.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
IrcAdmin.py remove all of the help stuff 2012-12-19 21:12:49 -06:00
Karma.py remove all of the help stuff 2012-12-19 21:12:49 -06:00
Markov.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Pi.py Module: remove reply(), use DrBotIRC's 2012-12-19 20:51:35 -06:00
Radio.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Seen.py Module: remove reply(), use DrBotIRC's 2012-12-19 20:51:35 -06:00
Storycraft.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
TextTransform.py Module: remove reply(), use DrBotIRC's 2012-12-19 20:51:35 -06:00
Twitter.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
Weather.py Module: don't pass DrBotServerConnection to init 2012-12-19 21:06:53 -06:00
__init__.py turns out we do indeed need modules/__init__.py, so add it back 2011-01-08 09:39:05 -06:00