mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-02-04 03:52:34 +00:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -42,7 +42,7 @@ const msg = ch.messages.cache.get('860438916275240971')
|
||||
|
||||
if(status === 'offline') {
|
||||
ch.send(`Node is online\nTime : ${Date.now()}`).then(m => { m.delete({timeout: 5000}) })
|
||||
} else if(status !=== 'offline') {
|
||||
} else {
|
||||
ch.send(`Node is offline\nTime : ${Date.now()}`).then(m => { m.delete({timeout: 5000}) })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user