Postgres storage module for Botkit
Install with npm
npm install botkit-storage-postgres --save
and require it and use it:
var botkitStoragePostgres = require('botkit-storage-postgres');
var Botkit = require('botkit');
var controller = Botkit.slackbot({
storage: botkitStoragePostgres({
host: 'localhost',
user: 'botkit',
password: 'botkit',
database: 'botkit'
})
});
- Node 6.7 or later
- Postgres 9.5 or later