more readme
authorChristian Weiske <cweiske@cweiske.de>
Mon, 9 May 2016 20:10:45 +0000 (22:10 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 9 May 2016 20:10:45 +0000 (22:10 +0200)
.gitignore
README.rst

index d3c4e47cd9574f52a7407237c0b1c00fa4f9fb29..c93664bf2d3db056b1216406ae0e9ee9f7fa0eb2 100644 (file)
@@ -1,3 +1,4 @@
 *.pyc
 /tmp/
 /config.py
+/README.html
index 0d55904672eb0af00f4b0d8f6f58c2893564a88a..e652833f10dad3c0b4ca13c943c1c651cb5cc41c 100644 (file)
@@ -1,14 +1,32 @@
-**********************
-Exec plugin for errbot
-**********************
+**************************
+Exec plugin for `errbot`__
+**************************
+
+__ http://errbot.io/
 
 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.
+
+__ http://errbot.io/
+
 =============
 Configuration
 =============
 In ``config.py``::
 
     EXEC = {
-        'command': u'echo'
+        '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'),
     }