Commit Graph

7 Commits

Author SHA1 Message Date
Brian S. Stephan 359ca24856 remove replypath and all the places it was used.
with alias calling do() internally, there is no need for all this
replypath nonsense, and if there's ever a module that needs to reply
to stuff on its own outside of do(), it'd have to be implementing
all of this anyway, so it was pretty irrelevant.

this makes DrBotIRC alias/recursion stuff a bit cleaner.
2011-01-07 23:09:07 -06:00
Brian S. Stephan 0bd681c324 convert most modules to use ! commands.
okay, it's time. we got around for a while with all sorts of silly
config options and exceptions and common strings triggering bot
commands. but now it's time to man up and expect modules to be
more strict and less loosey-goosey.

convert the popular modules (i.e. the ones that still work) to
trigger on !pi rather than pi, etc. usually, this is achieved via
regex searches, although there are some weird bugs (ones i'm hoping
are caused by other recursion/alias bugs and not this commit).

more code around this will be gutted soon, but this, at least,
means you can't say 'tweet that shit, yo' and accidentally trigger
the bot.
2011-01-07 20:37:24 -06:00
Brian S. Stephan bda1eb9560 add uppercase text transform 2010-12-16 20:28:26 -06:00
Brian S. Stephan e084c28113 handle potential newlines in output 2010-12-11 00:10:26 -06:00
Brian S. Stephan 977675c593 add base64 to text transformations 2010-12-10 23:59:49 -06:00
Brian S. Stephan 7c4125e099 properly use encode() to do the rot13 conversion, ignore conversion failures 2010-10-27 21:56:18 -05:00
Brian S. Stephan 1bc0dd0b2a TextTransform module. right now it only does rot13 2010-10-27 19:57:18 -05:00