mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +02:00
Local Storage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user