mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-07-31 12:32:58 +00:00
Update index.js
This commit is contained in:
@@ -38,7 +38,7 @@ const stats = Client.getServerUsages(id);
|
||||
const status = (stats.current_state);
|
||||
|
||||
const ch = client.channels.cache.get('837238494765645834')
|
||||
const msg = channel.messages.cache.get('860438916275240971')
|
||||
const msg = ch.messages.cache.get('860438916275240971')
|
||||
|
||||
if(status === 'offline') {
|
||||
msg.edit(`Node is online\nTime : ${Date.now()}`)
|
||||
|
||||
Reference in New Issue
Block a user