floor result of serverStartedAt epoch

This commit is contained in:
hippoz 2022-03-12 17:14:18 +02:00
parent 39bfae7bc2
commit fe7f1f8b43
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -176,7 +176,7 @@ class Bridge {
} else if (e.message.content === "!:mc-status") {
this.sendBridgeMessageAs(TARGET_GUILD_ID,
TARGET_CHANNEL_ID,
`:scroll: **Server information**\n**Player Count**: ${this.playerCount}\n**Started**: <t:${this.serverStartedAt/1000}:R>`,
`:scroll: **Server information**\n**Player Count**: ${this.playerCount}\n**Started**: <t:${Math.floor(this.serverStartedAt/1000)}:R>`,
null,
null
);