From d293cbbbdc5e41767aa241ba3d0d812a94d731c8 Mon Sep 17 00:00:00 2001 From: f**k lu <32389469+mohdirwanlatiran@users.noreply.github.com> Date: Sun, 10 Dec 2017 23:03:44 +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) => {