mirror of
https://github.com/Expand-sys/mcbot
synced 2025-12-17 07:12:13 +11:00
server back online message
This commit is contained in:
parent
36388eda53
commit
5e8780160a
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ module.exports = {
|
|||
//console.log(state);
|
||||
//console.log(state.players)
|
||||
serverofflinefor = 0;
|
||||
if(restarted == 1){
|
||||
channelSend("Server back online!")
|
||||
}
|
||||
restarted = 0;
|
||||
}).catch((error) => {
|
||||
console.log("Server is offline" + error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue