diff --git a/src/structure/components/commands/information/Guild.js b/src/structure/components/commands/information/Guild.js index 8193acf..f695a76 100644 --- a/src/structure/components/commands/information/Guild.js +++ b/src/structure/components/commands/information/Guild.js @@ -1,5 +1,4 @@ const { MessageEmbed } = require("discord.js"); -const { Util } = require("../../../../utilities"); const { SlashCommand } = require("../../../interfaces"); const Tiers = { @@ -28,7 +27,7 @@ class GuildCommand extends SlashCommand { publicThread = 0, privateThread = 0; - const createdAt = `${guild.createdAt.toDateString()} (${Util.humanise(Math.floor((Date.now() - guild.createdTimestamp) / 1000), true)})`, + const createdAt = ` ()`, description = guild.description || interaction.guild._settings.description || interaction.format('COMMAND_GUILD_NODESC'), maxMembers = guild.maximumMembers, maxPresences = guild.maximumPresences, diff --git a/src/structure/components/commands/information/Info.js b/src/structure/components/commands/information/Info.js index 1b8a65a..70c90f9 100644 --- a/src/structure/components/commands/information/Info.js +++ b/src/structure/components/commands/information/Info.js @@ -83,7 +83,7 @@ class InformationCommand extends SlashCommand { value: interaction.format('COMMAND_INFO_USER_DATA', { id: user.id, bot: user.bot ? ` ${Emojis.bot}` : '', - created: `${user.createdAt.toDateString()} (${Util.timeAgo(user.createdTimestamp / 1000)})`, + created: ` ()`, status: member?.presence?.status || 'N/A', globalActivity: user.lastMessage ? user.lastMessage.createdAt.toDateString() : 'N/A' }), @@ -109,7 +109,7 @@ class InformationCommand extends SlashCommand { name: interaction.format('COMMAND_INFO_MEMBER_NAME'), value: interaction.format('COMMAND_INFO_MEMBER', { nickname: member.nickname ? member.nickname : 'N/A', - joined: member.joinedAt ? `${member.joinedAt.toDateString()} (${Util.timeAgo(member.joinedTimestamp / 1000)})` : 'N/A', + joined: member.joinedAt ? ` ()` : 'N/A', serverActivity: member.lastMessage ? member.lastMessage.createdAt.toDateString() : 'N/A' }) }; @@ -142,7 +142,7 @@ class InformationCommand extends SlashCommand { const embed = { title: role.name, description: interaction.format('COMMAND_INFO_ROLE', { - created: `${role.createdAt.toDateString()} (${Util.timeAgo(role.createdTimestamp / 1000)})`, + created: ` ()`, //`${role.createdAt.toDateString()} (${Util.timeAgo(role.createdTimestamp / 1000)})`, members: members.size, colour: role.hexColor }), @@ -169,7 +169,7 @@ class InformationCommand extends SlashCommand { const embed = { title: channel.name, description: interaction.format('COMMAND_INFO_CHANNEL_BASE', { - created: `${channel.createdAt.toDateString()} (${Util.timeAgo(channel.createdTimestamp / 1000)})`, + created: ` ()`, type: channel.type }), footer: {