- slack: bugfix

This commit is contained in:
Flummi 2020-02-17 09:32:38 +01:00
parent a221ef715a
commit 85c2a6f963
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "cuffeo",
"version": "1.0.5",
"version": "1.0.5-1",
"description": "A multi-protocol chatbot library with nearly zero dependencies.",
"main": "src/index.mjs",
"scripts": {},

View File

@ -104,7 +104,8 @@ export default class slack extends EventEmitter {
async reconnect() {
this.server.wss.url = null;
this.server.wss.socket = null;
await this.connect();
this.emit("data", [ "info", "reconnecting slack" ]);
return await this.connect();
}
async getChannel(channelId) {