errbot
errbot copied to clipboard
Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
If a plugin is marked as installed in the db but not present on disk, try to clone it. It is useful because errbot deployments can be "static" with this...
``` python def prefix_groupchat_reply(self, message: Message, identifier: Identifier): if message.body.startswith('#'): # Markdown heading, insert an extra newline to ensure the # markdown rendering doesn't break. message.body = "\n" + message.body...
I wrote a bot that uses start_poller to have a method called every N seconds. Under certain conditions, I call stop_poller() to stop the process, but while the entry gets...

As far as I can tell, it's impossible to get the file URL for a shared file from the slack event. example from the file_shared notification message: ``` 'text': '...
BotPlugin.send_card is a mapping to Slack Attachments and Hipchat Cards. It is also implemented on the graphics backend (-G) to display nicely the various elemets. Now for all the other...
Not everyone uses mIRC so we shouldn't default to the format that only works with it (because thats not exactly a friendly output for other IRC client users), For example...
This could be a nice intermediate usage: ``` python @botcmd def add(self, msg, left : int, right : int): return str(left + right) ```
**Describe the bug** If you set `CORE_PLUGINS` to a subset of the core plugins, eg. `("ACLs", "Backup", "Help")`, the rest of the core plugins will error out periodically: The only...
**Describe the bug** When plugins reply to a message, the message is sent to the backend immediately. Other backends seem to process the messages correctly and the response is received...