Skip to content

Commit

Permalink
return promise
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Jan 26, 2024
1 parent c2b3c63 commit 46d9129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ class Messenger {
this.bot.on('message', this.handleText.bind(this));
this.bot.on('connected', this.handleConnect.bind(this));

this.bot.connect()
return Promise.resolve()
return this.bot.connect()
}

handleText (target, context, msg, self) {
Expand Down

0 comments on commit 46d9129

Please sign in to comment.