2.1.1 • Published 2 years ago
starbot-store-redis v2.1.1
starbot-store-redis
About
Store module for StarBot
Installation
$ npm install --save starbot-store-redis
Options
Using redis. All options are proxied to redis.createClient
.
const StoreRedis = require('starbot-store-redis');
const store = new StoreRedis({
host: 'localhost', // default 'localhost'
port: 6379, // default 6379
user: 'user',
password: 'password',
db: 0, // default 0
prefix: 'botName',
});
License
MIT © antitim