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

View file

@ -51,13 +51,6 @@ exports.run = (client, message, args) => {
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 + "`, `"
});