User can stop bot

This commit is contained in:
Luis Fernando Molina committed 2018-05-24 14:41:23 +02:00
1 parent 45527b540b
commit 3275731c1a
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -777,7 +777,7 @@
let configRead = JSON.parse(text);
if (configRead.stopGracefully === false) {
if (configRead.stopGracefully === false && global.SHALL_BOT_STOP === false) {
continueCallBack();
} else {
stopCallBack();