floor result of serverStartedAt epoch
This commit is contained in:
parent
39bfae7bc2
commit
fe7f1f8b43
1 changed files with 1 additions and 1 deletions
|
@ -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/1000}:R>`,
|
`:scroll: **Server information**\n**Player Count**: ${this.playerCount}\n**Started**: <t:${Math.floor(this.serverStartedAt/1000)}:R>`,
|
||||||
null,
|
null,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue