i have not committed in years
diff --git a/src/commands/nucleus/stats.ts b/src/commands/nucleus/stats.ts
index 7f468fa..c12b950 100644
--- a/src/commands/nucleus/stats.ts
+++ b/src/commands/nucleus/stats.ts
@@ -1,14 +1,26 @@
import { CommandInteraction } from "discord.js";
import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
+import generateEmojiEmbed from "../../utils/generateEmojiEmbed.js";
const command = (builder: SlashCommandSubcommandBuilder) =>
builder
.setName("stats")
- .setDescription("Gets the bot's statse")
+ .setDescription("Gets the bot's stats")
const callback = (interaction: CommandInteraction) => {
- interaction.reply("Command incomplete [nucleus/stats]");
+ interaction.reply({
+ embeds: [new generateEmojiEmbed()
+ .setTitle("Stats")
+ .setDescription(
+ `**Servers:** ${interaction.client.guilds.cache.size}\n` +
+ `**Ping:** \`${interaction.client.ws.ping*2}ms\``
+ )
+ .setStatus("Success")
+ .setEmoji("GUILD.GRAPHS")
+
+ ], ephemeral: true
+ });
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {