From a1c9606f9974dc92b3e82618d9c3eb504a557098 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 25 Mar 2017 04:57:04 +0000 Subject: [PATCH] Fix for Dates --- commands/guildinfo/guildinfo.js | 2 +- commands/userinfo/userinfo.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/guildinfo/guildinfo.js b/commands/guildinfo/guildinfo.js index ab6d8a66..763af9bb 100644 --- a/commands/guildinfo/guildinfo.js +++ b/commands/guildinfo/guildinfo.js @@ -33,7 +33,7 @@ module.exports = class GuildInfoCommand extends commando.Command { .addField('**ID:**', message.guild.id, true) .addField('**Created On:**', - `${message.guild.createdAt} (${moment.duration(message.guild.createdTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago)`, true) + `${message.guild.createdAt}\n${moment.duration(message.guild.createdTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true) .addField('**Default Channel:**', message.guild.defaultChannel, true) .addField('**Region:**', diff --git a/commands/userinfo/userinfo.js b/commands/userinfo/userinfo.js index 7c1d2e1a..7b004492 100644 --- a/commands/userinfo/userinfo.js +++ b/commands/userinfo/userinfo.js @@ -73,9 +73,9 @@ module.exports = class UserInfoCommand extends commando.Command { .addField('**ID:**', user.id, true) .addField('**Joined Discord On:**', - `${user.createdAt} (${moment.duration(user.createdTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago)`, true) + `${user.createdAt}\n${moment.duration(user.createdTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true) .addField('**Joined Server On:**', - `${message.guild.member(user).joinedAt} (${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(message.guild.member(user).joinedTimestamp - Date.now()).format('y[ years], M[ months], w[ weeks, and ]d[ days]')} ago.`, true) .addField('**Status:**', stat, true) .addField('**Playing:**',