Reverse Timestamps

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 18:01:31 +00:00
parent 5271872d4b
commit 55b8969ead
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -76,9 +76,9 @@ module.exports = class UserInfoCommand extends commando.Command {
.addField('**ID:**',
user.id, true)
.addField('**Joined Discord On:**',
`${user.createdAt}\n${moment.duration(user.createdTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true)
`${user.createdAt}\n${moment.duration(Date.now() - user.createdTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true)
.addField('**Joined Server On:**',
`${message.guild.member(user).joinedAt}\n${moment.duration(message.guild.member(user).joinedTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true)
`${message.guild.member(user).joinedAt}\n${moment.duration(Date.now() - message.guild.member(user).joinedTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true)
.addField('**Status:**',
stat, true)
.addField('**Playing:**',