Skip to content

Execute an external command when errbot is talked to.

License

Notifications You must be signed in to change notification settings

cweiske/errbot-exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Execute an external command when errbot is talked to.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages