Errbot redis backend plugin
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits behind sijis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
redisstorage.plug
redisstorage.py
requirements.txt

README.md

Redis storage plugin for errbot

About

Errbot is a python chatbot, this storage plugin allows you to use it with Redis databases as a persistent storage.

Installation

  1. Install redis library
  2. 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.

  1. Start your bot in text mode: errbot -T to give it a shot.