From 041778e21e6493dc87a13d102198cf4493cff044 Mon Sep 17 00:00:00 2001 From: LauraOrchid Date: Thu, 28 Jul 2022 14:51:19 +0000 Subject: [PATCH] Update 'commands/Info/uptime.js' --- commands/Info/uptime.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/Info/uptime.js b/commands/Info/uptime.js index 40e401d..11ee659 100644 --- a/commands/Info/uptime.js +++ b/commands/Info/uptime.js @@ -1,7 +1,5 @@ const { EmbedBuilder } = require('discord.js'); const decodeTime = require('format-duration'); -const packjson = require('../../package.json'); -const version = packjson.dependencies['discord.js']; module.exports = { name: "status", @@ -11,7 +9,7 @@ module.exports = { const embed = new EmbedBuilder() .setColor("#FA0CF2") .setTitle("💜 More information about laura :D") - .setDescription(`Latency: ${client.ws.ping}ms\nDiscord.js Version: ${version}\nUptime: ${decodeTime(client.uptime)}`) + .setDescription(`Latency: ${client.ws.ping}ms\nUptime: ${decodeTime(client.uptime)}`) .setTimestamp() .setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` }); interaction.followUp({ embeds: [embed] });