fliphess / err-storage-redis

Errbot redis backend plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Errbot redis backend plugin


Languages

Language:Python 100.0%