fix "server started at" metric in the mc-status command

This commit is contained in:
hippoz 2022-03-12 17:11:59 +02:00
parent 694e0e45ed
commit 39bfae7bc2
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

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