Notification for sleep mode
This commit is contained in:
parent
e06c4c1558
commit
39d58f3c23
1 changed files with 2 additions and 0 deletions
2
bot.js
2
bot.js
|
@ -322,10 +322,12 @@ function botToggleUI() {
|
||||||
|
|
||||||
function botToggleSleep() {
|
function botToggleSleep() {
|
||||||
if(botSleeping) {
|
if(botSleeping) {
|
||||||
|
console.log('Stopping sleep mode');
|
||||||
botFightRandom = true;
|
botFightRandom = true;
|
||||||
botFightGlobal = true;
|
botFightGlobal = true;
|
||||||
botSleeping = false;
|
botSleeping = false;
|
||||||
} else {
|
} else {
|
||||||
|
console.log('Starting sleep mode');
|
||||||
botFightRandom = false;
|
botFightRandom = false;
|
||||||
botFightGlobal = false;
|
botFightGlobal = false;
|
||||||
botBuySlimes = false;
|
botBuySlimes = false;
|
||||||
|
|
Loading…
Reference in a new issue