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,9 +66,9 @@ 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]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue