oddluck-limnoria-plugins/BotLibre
Gordon Shumway eacb52101a
Update README.md
2019-04-14 04:56:25 -04:00
..
README.md Update README.md 2019-04-14 04:56:25 -04:00
__init__.py Update __init__.py 2019-04-02 19:48:56 -04:00
config.py Add files via upload 2019-04-02 19:21:31 -04:00
plugin.py strip html 2019-04-13 15:13:49 -04:00
test.py Add files via upload 2019-04-02 19:21:31 -04:00

README.md

Use the Bot Libre API (Free) https://www.botlibre.com/api.jsp

config plugins.BotLibre.application (YOUR_APP_KEY_HERE)
config plugins.BotLibre.instance (BOT_INSTANCE_ID_HERE)

make the bot respond to invalid commands:

config plugins.BotLibre.invalidcommand True

or:

config channel #channel plugins.BotLibre.invalidcommand True

Use messapeparser to make the bot respond to messages containing its nick:

messageparser add (#channel/global) "(?i)(.+)(your_bot_nick)(.*)" "botlibre $1$3"
messageparser add (#channel/global) "(?i)(.*)(your_bot_nick)(.+)" "botlibre $1$3"