Local Storage

This commit is contained in:
Daniel Odendahl Jr
2017-05-13 18:15:37 +00:00
parent 73ad340cb1
commit 82d3c6eeca
37 changed files with 113 additions and 135 deletions
+6 -6
View File
@@ -51,23 +51,23 @@ module.exports = class UserInfoCommand extends Command {
const embed = new RichEmbed()
.setColor(color)
.setThumbnail(member.user.displayAvatarURL)
.addField('**Name:**',
.addField('Name',
member.user.tag, true)
.addField('**ID:**',
.addField('ID',
member.id, true)
.addField('**Joined Discord On:**',
.addField('Discord Join Date',
stripIndents`
${moment(member.user.createdTimestamp).format('MMMM Do YYYY h:mm:ss A')}
${moment.duration(Date.now() - member.user.createdTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.
`)
.addField('**Joined Server On:**',
.addField('Server Join Date',
stripIndents`
${moment(member.joinedTimestamp).format('MMMM Do YYYY h:mm:ss A')}
${moment.duration(Date.now() - member.joinedTimestamp).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.
`)
.addField('**Status:**',
.addField('Status',
stat, true)
.addField('**Playing:**',
.addField('Playing',
member.user.presence.game ? member.user.presence.game.name : 'None', true);
return msg.embed(embed);
}