why was this logging a unix timestamp

This commit is contained in:
Emily 2020-03-11 14:33:03 +11:00
parent 1e66c75982
commit 42f3fd10ff
1 changed files with 0 additions and 7 deletions

View File

@ -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 + "`, `"