From e4311467b3daaa4a227f9dfc5ecfb88af7dab849 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Thu, 14 Feb 2019 20:01:02 +0530 Subject: [PATCH] Fix wrong date in /info --- commands/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info.js b/commands/info.js index 76b558f..341f2b6 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,7 +24,7 @@ module.exports = () => (ctx) => { text += "Channel ID: "; text += `\`${forward.id}\`\n`; text += "Message Date: `"; - const date = new Date(reply.forward_date); + const date = new Date(reply.forward_date*1000); text += date.toUTCString(); text += "`";