From 42f3fd10ff0072c6834f7d7744f720210d6aaa0d Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Wed, 11 Mar 2020 14:33:03 +1100 Subject: [PATCH] why was this logging a unix timestamp --- src/commands/userinfo.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/userinfo.js b/src/commands/userinfo.js index f84b40a..8d7008b 100644 --- a/src/commands/userinfo.js +++ b/src/commands/userinfo.js @@ -50,13 +50,6 @@ exports.run = (client, message, args) => { if(badges.length > 0) { badges += "\n" } - - createdTimestamp = user.user.createdTimestamp; - var date = new Date(createdTimestamp * 1000); - var hours = date.getHours(); - var minutes = "0" + date.getMinutes(); - var seconds = "o" + date.getSeconds(); - console.log(date) user.roles.cache.forEach((role) => { roles = roles + role.name + "`, `"