mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
fix uptime calculation
This commit is contained in:
parent
b9d7dfa51c
commit
91d1e37be0
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Stats extends BaseCommand {
|
||||||
{
|
{
|
||||||
name: client.customEmojis.status.online + " " + interaction.translate("general/stats:ONLINE_TITLE"),
|
name: client.customEmojis.status.online + " " + interaction.translate("general/stats:ONLINE_TITLE"),
|
||||||
value: interaction.translate("general/stats:ONLINE_CONTENT", {
|
value: interaction.translate("general/stats:ONLINE_CONTENT", {
|
||||||
time: `<t:${Math.floor((Date.now() + client.uptime) / 1000)}:R>`,
|
time: `<t:${Math.floor((Date.now() - client.uptime) / 1000)}:R>`,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue