Go to file
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
docs PLUGIN_TUTORIAL: Remove references to the old website. 2009-12-10 08:09:11 -05:00
plugins Use the ircutils.standardSubsitute function upon factoid output. 2010-04-28 00:10:48 -04:00
sandbox release.py: Remove the archives after uploading to Sourceforge 2009-05-25 13:50:05 -04:00
scripts Improve supybot-botchk documentation. Make a note that supybot.pidFile config must be set for it to work. 2010-04-25 23:24:42 -04:00
src Make registry.Regexp.error mimic registry.Value.error 2010-04-19 01:00:02 -04:00
test Until we can safely load Karma, this test is staying commented out. 2009-11-25 09:17:52 -06:00
.gitattributes Add export-ignore gitattributes for test/, sandbox/, and .git* 2009-03-16 23:43:28 -04:00
.gitignore Add *.pyc to gitignore 2009-02-28 00:11:52 -05:00
ACKS Updated to be STX as well as ordered chronologically. 2005-01-19 23:39:52 +00:00
ChangeLog Update ChangeLog and RELNOTES for 0.83.4.1 2009-05-25 13:15:44 -04:00
INSTALL Bump the minimum supported Python version to 2.4. 2009-10-23 19:35:24 -04:00
LICENSE LICENSE: Update Copyright date range 2009-05-07 22:41:39 -04:00
README Use '2x' to reference Python version in README. 2009-10-23 20:07:48 -04:00
RELNOTES Bump the minimum supported Python version to 2.4. 2009-10-23 19:35:24 -04:00
setup.py Remove supybot-plugin-package from the set of installed files. 2009-10-25 09:20:45 -04:00

EVERYONE:
---------
Read LICENSE.  It's a 2-clause BSD license, but you should read it
anyway.

USERS:
------
If you're upgrading, read RELNOTES.  There is also much documentation
at http://supybot.com/ for your perusal.  Please read it; we took the
time to write it, you should take the time to read it.

If you have any trouble, feel free to swing by #supybot on
irc.freenode.net or irc.oftc.net (we have a Supybot there relaying,
so either network works) and ask questions.  We'll be happy to help
wherever we can.  And by all means, if you find anything hard to
understand or think you know of a better way to do something,
*please* post it on Sourceforge.net so we can improve the bot!

WINDOWS USERS:
--------------
The wizards (supybot-wizard, supybot-newplugin, and
supybot-adduser) are all installed to your Python directory's
\Scripts.  What that *probably* means is that you'll run them like
this: C:\Python2x\python C:\Python2x\Scripts\supybot-wizard

DEVELOPERS:
-----------
We likewise have tons of developer documentation at
http://supybot.com/ for your learning adventures.  Have fun :)