User can stop bot
This commit is contained in:
1 parent
45527b540b
commit
3275731c1a
3 files changed
+4
-3
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user