Daniel Folkinshteyn 976ad82d69 Use the ircutils.standardSubsitute function upon factoid output.
This allows inclusion of the usual standardSubstitute vars within factoids.

There is no config to disable this, since it is possible to escape the substitutions
by simply doubling the dollar signs, as per the python documentation:
http://docs.python.org/library/string.html#template-strings

Thus, if you want a factoid to output a literal "$channel", for example, all
you'd need to do is use "$$channel" in your factoid text, which will come out
as "$channel" when said by the bot.

Also added tests for this new behavior.
2010-04-28 00:10:48 -04:00
..
2009-08-26 16:34:12 -04:00
2009-08-26 16:34:12 -04:00
2009-11-04 22:54:46 -05:00
2010-04-21 01:24:13 -04:00
2010-04-26 19:50:08 -04:00
2009-08-26 16:34:12 -04:00