Fix tSeconds making SystemUptime be the same as BotUptime
This commit is contained in:
parent
917d6a8c19
commit
e378121fbe
2 changed files with 3 additions and 2 deletions
|
@ -46,6 +46,7 @@ module.exports = {
|
|||
console.log(' / /| | / __ \\/ / __/ ___/ __ \\| |/_/');
|
||||
console.log(' / ___ |/ / / / / /_/ / / /_/ /> < ');
|
||||
console.log('/_/ |_/_/ /_/_/\\__/_/ \\____/_/|_| ');
|
||||
console.log('');
|
||||
console.log(`${config.release}, ${config.build}`);
|
||||
console.log('Bot online. | Anitrox by IDeletedSystem64 | ALL MY CODE KEEPS BLOWING UP!');
|
||||
// Statuses
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = () => {
|
||||
const tSeconds = process.uptime();
|
||||
module.exports = (uptime) => {
|
||||
const tSeconds = (uptime / 1000);
|
||||
|
||||
const tDays = parseInt(tSeconds / 86400);
|
||||
const tHrs = parseInt((tSeconds % 86400) / 3600);
|
||||
|
|
Reference in a new issue