From a5e8363faeb5ad182a8037637e6565ff738e9192 Mon Sep 17 00:00:00 2001 From: f**k lu <32389469+mohdirwanlatiran@users.noreply.github.com> Date: Mon, 11 Dec 2017 01:09:28 +0800 Subject: [PATCH] Update connect.js --- src/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connect.js b/src/connect.js index 1f5c178..623f364 100644 --- a/src/connect.js +++ b/src/connect.js @@ -34,7 +34,7 @@ class LineConnect extends LineAPI { async startx () { if (typeof this.authToken != 'undefined'){ await this._tokenLogin(this.authToken, this.certificate); - this._client.removeAllMessages(); //Fix Chat Spam When Bot Started (This bug only appears when u are login using authToken) + //this._client.removeAllMessages(); //Fix Chat Spam When Bot Started (This bug only appears when u are login using authToken) return this.longpoll(); } else { return new Promise((resolve, reject) => {