Exec plugin for errbot
Execute an external command when the bot is talked to.
I wrote it so I can write bots in PHP, while letting errbot do all the connection handling and stuff.
The executed script gets the message as first, and the username sending the message as second parameter.
Configuration
In config.py:
EXEC = {
'command': 'echo'
}
Useful default errbot config settings:
Only allow some users to talk to the bot:
ACCESS_CONTROLS_DEFAULT = { 'allowusers': ('gbin@localhost', 'user@example.org'), }
License
errbot-exec is licensed under the AGPL v3 or later.
Author
Written by Christian Weiske, cweiske+errbot@cweiske.de