Questions tagged [errbot]

Errbot is a Python chatbot, a daemon that connects to your favorite chat service (Slack, Hipchat, ...) and brings your tools into the conversation. This tag is about any questions regarding its installation, security or issues with the development of new plugins, backends or storage plugins.

errbot logo

Errbot is a Python chatbot, a daemon that connects to your favorite chat service (Slack, Hipchat, ...) and brings your tools into the conversation.

It is extensible in Python. The general user guide is here and the API reference is here

44 questions
1
vote
1 answer

Python 3.5 OpenSSL error

SO I am was working with errbot and fired up a virtualenv with python3.5. When I run the errbot command I get this error from OpenSSL import crypto File…
Beginner
  • 2,643
  • 9
  • 33
  • 51
1
vote
1 answer

Errbot: How can I access config file variables

I see the way it's done in cli.py but it's not set up as a utility for plugin code to make use of. From http://errbot.io/en/latest/user_guide/plugin_development/configuration.html : Errbot can keep a simple python object for the configuration of…
EMiller
  • 1,138
  • 8
  • 23
0
votes
0 answers

Is it possible to save the matterpoll responses to a file automatically using python?

I need to make a chat bot which posts a poll in a mattermost chat and collects/saves the responses. I want to know if there is a way to use the matterpoll plugin to do this or if I should use some other way of creating a chat bot. Please let me know…
monica
  • 23
  • 9
0
votes
1 answer

How to install Errbot in Google App Engine

I'm trying to deploy Errbot in App Engine. Errbot needs the data directory to be writable but an App Engine instance's local filesystem is not writable. Is there any way to work around this?
0
votes
1 answer

Errbot Natural Language Processing

I would like to add some basic Natural Language Processing or Natural Language understanding into a bot I have implemented with the errbot library. This is to add in basic conversation to the bot. So that the operator can have some basic chat with…
James B
  • 1
  • 1
0
votes
1 answer

What config option allows bot to respond to commands posted by itself?

If I have en external process post a message as bot, let's say !help how can make Errbot respond to it? Currently it ignores messages coming from errbot itself. I could not find a configuration option for this.
Jimbotron
  • 83
  • 6
0
votes
2 answers

How can a rung a command from an err-bot plugin from another err-bot plugin?

How can a rung a command from an err-bot plugin from another err-bot plugin? run the "!dosomething" from another plugin on some type of scheduler.
Brent
  • 1
0
votes
2 answers

How to ignore specific messages or users in errbot?

I use current config with IRC freenode server: BOT_PREFIX = '@' BOT_PREFIX_OPTIONAL_ON_CHAT = True BOT_ALT_PREFIXES = ('Err', "bot", "mybot", "botka", "errbot") BOT_ALT_PREFIX_SEPARATORS = (':', ',', ';') BOT_ALT_PREFIX_CASEINSENSITIVE = True and I…
DominiCane
  • 1,263
  • 3
  • 16
  • 29
0
votes
0 answers

How to configure properly unit testing with Errbot?

I tried to follow this guide http://errbot.io/en/latest/user_guide/plugin_development/testing.html I installed pytest and launch it with pytest --rootdir='./srv/plugins' but I have this following error: Traceback (most recent call last): File…
Starli0n
  • 123
  • 2
  • 10
0
votes
1 answer

How to set the configuration of a plugin correctly in Errbot?

I try to follow the sample given by the documentation: 9.1. Plugin configuration through the built-in !config command However, I do not manage in getting back the configuration of the plugin which is set to 'NoneType' [@admin ➡ @errbot] >>> !plugin…
Starli0n
  • 123
  • 2
  • 10
0
votes
1 answer

Passing input into Curl command inside python3

I'm currently working with errbot, but i'm having trouble with allowing users to enter a message to be passed along with the curl command. my plugin looks as follows: @arg_botcmd('team_key', type=str) @arg_botcmd('--message' , dest='message',…
Jrsys
  • 13
  • 2
0
votes
1 answer

How to add a Slack reaction to a send_card

I have an Errbot function that sends a Slack card. How do I then add a reaction to the card instead of the original message(msg) that was received? @botcmd def example(self, msg): self.send_card(title='Test', body='test123', …
Chad S
  • 3
  • 2
0
votes
0 answers

How to tell admins (or others?) when connected

I'm using errbot running in a docker container, and would like it to announce when a new version has been deployed. One of my plugins implements some custom commands for health checks, so I implemented a callback_connected method in that plugin and…
Oz Linden
  • 11
  • 3
0
votes
1 answer

How to patch (mocking) tests with Errbot?

I'm trying to patch dependencies with my errbot tests. The problem I'm having is how errbot imports modules. It is not static and breaks my patch decorators as I add tests or they test in a different order. I have plugin called EDB (edb.py). Inside…
Josh
  • 2,767
  • 1
  • 27
  • 31
0
votes
1 answer

Using specific features of some backends in ErrBot

I'm using the telegram backend for ErrBot. I know that telegram API allows for messages to use markdown and html. If I understand everything well, I could change: self.telegram.sendMessage(msg.to.id, body) for something using parse_mode…
fernand0
  • 310
  • 1
  • 10