Cleaned up code so it looks a bit better even though it still looks like shit lol

This commit is contained in:
SileNce5k 2021-02-19 12:26:39 +01:00
parent 9687f47f21
commit 4514b45ab8
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -1,10 +1,5 @@
module.exports = function (user) {
let creationMonth;
let creationDate;
let creationHours;
let creationMinutes;
let creationSeconds;
console.log(user.joinedAt)
let creationMonth, creationDate, creationHours, creationMinutes, creationSeconds;
if (user.createdAt.getUTCMonth().toString().length === 1)
creationMonth = "0" + user.createdAt.getUTCMonth()