1
0
forked from keinBot/cuffeo

- 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

@@ -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) {