Errbot is a python chatbot, this storage plugin allows you to use it with Redis databases as a persistent storage.
- Install redis library
- Then you need to add this section to your config.py:
BOT_EXTRA_STORAGE_PLUGINS_DIR='/path/to/err-storage'
STORAGE = 'Redis'
STORAGE_CONFIG = {
'host': 'localhost',
'port': 6379,
'db': 0,
'password': 'xyz123',
}
STORAGE_CONFIG
will send any option specified as an argument to redis.StrictRedis
.
- Start your bot in text mode:
errbot -T
to give it a shot.