I hereby claim:
- I am rinma on github.
- I am rinma (https://keybase.io/rinma) on keybase.
- I have a public key ASBfvkAluK2nHXlGRZdbU69EDTdPynCJdEU7dKtvJOsBDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const RtmClient = require('@slack/client').RtmClient; | |
const MemoryDataStore = require('@slack/client').MemoryDataStore; | |
const RTM_EVENTS = require('@slack/client').RTM_EVENTS; | |
const token = process.env.SLACK_TOKEN || ''; | |
const rtm = new RtmClient(token, { | |
logLevel: 'error', | |
// logLevel: 'debug', | |
// Initialise a data store for our client, this will load additional helper functions for the storing and retrieval of data | |
dataStore: new MemoryDataStore(), |