2022-07-23 09:10:45 -04:00
|
|
|
const { EmbedBuilder } = require('discord.js');
|
|
|
|
const decodeTime = require('format-duration');
|
|
|
|
|
|
|
|
module.exports = {
|
2022-07-28 10:15:57 -04:00
|
|
|
name: "status",
|
2022-08-20 23:05:58 -04:00
|
|
|
description: "Tiffany's Health Status.",
|
2022-07-23 09:10:45 -04:00
|
|
|
|
|
|
|
run: async (client, interaction) => {
|
|
|
|
const embed = new EmbedBuilder()
|
|
|
|
.setColor("#FA0CF2")
|
2022-08-20 23:05:58 -04:00
|
|
|
.setTitle("💜 Tiffany's Story!")
|
2022-07-28 10:51:19 -04:00
|
|
|
.setDescription(`Latency: ${client.ws.ping}ms\nUptime: ${decodeTime(client.uptime)}`)
|
2022-07-23 09:10:45 -04:00
|
|
|
.setTimestamp()
|
|
|
|
.setFooter({ text: `Requested by ${interaction.user.tag}`, iconURL: `${interaction.user.displayAvatarURL()}` });
|
|
|
|
interaction.followUp({ embeds: [embed] });
|
|
|
|
},
|
|
|
|
};
|