mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
b12d8a8a04
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. |
||
---|---|---|
.. | ||
locale | ||
__init__.py | ||
config.py | ||
messages.pot | ||
plugin.py | ||
README.txt | ||
test.py |
Insert a description of your plugin here, with any notes, etc. about using it.