forked from Supositware/Haha-Yes
fix owner status
This commit is contained in:
parent
00389b326d
commit
5b5f2bfb23
1 changed files with 2 additions and 2 deletions
|
@ -66,11 +66,11 @@ class ReadyListener extends Listener {
|
||||||
let diffMs = (new Date() - owner.presence.activities[0].timestamps.start);
|
let diffMs = (new Date() - owner.presence.activities[0].timestamps.start);
|
||||||
diffMins = Math.round(((diffMs % 86400000) % 3600000) / 60000);
|
diffMins = Math.round(((diffMs % 86400000) % 3600000) / 60000);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
client.user.setActivity(`${owner.presence.activities[0].name}\nfor ${diffMins} minutes | My prefix is: ${prefix[0]}`, owner.presence.activities[0]);
|
client.user.setActivity(`${owner.presence.activities[0].name}\nfor ${diffMins} minutes | My prefix is: ${prefix[0]}`, owner.presence.activities[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// If stats channel settings exist, send bot stats to it
|
// If stats channel settings exist, send bot stats to it
|
||||||
|
|
Loading…
Reference in a new issue