From bb68b76adf741d8aa16c5b393ed3ab8bc4577f0e Mon Sep 17 00:00:00 2001 From: LauraOrchid Date: Thu, 28 Jul 2022 14:15:57 +0000 Subject: [PATCH] Update 'commands/Info/uptime.js' --- commands/Info/uptime.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/commands/Info/uptime.js b/commands/Info/uptime.js index e84aecf..40e401d 100644 --- a/commands/Info/uptime.js +++ b/commands/Info/uptime.js @@ -1,15 +1,17 @@ const { EmbedBuilder } = require('discord.js'); const decodeTime = require('format-duration'); +const packjson = require('../../package.json'); +const version = packjson.dependencies['discord.js']; module.exports = { - name: "uptime", - description: "Obtain bot's uptime", + name: "status", + description: "Cool facts about Laura :)", run: async (client, interaction) => { const embed = new EmbedBuilder() .setColor("#FA0CF2") - .setTitle("🕒 Laura's Uptime is...") - .setDescription(`${decodeTime(client.uptime)}`) + .setTitle("💜 More information about laura :D") + .setDescription(`Latency: ${client.ws.ping}ms\nDiscord.js Version: ${version}\nUptime: ${decodeTime(client.uptime)}`) .setTimestamp() .setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` }); interaction.followUp({ embeds: [embed] });