From 715eb57c582d10f8877e4fc3f7c90ef4c261c9aa Mon Sep 17 00:00:00 2001 From: RealEthanPlayzDev Date: Tue, 6 Feb 2024 14:24:10 +0700 Subject: [PATCH] stop it alredy --- src/commands/Moderation/Case.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/Moderation/Case.ts b/src/commands/Moderation/Case.ts index d826813..1e81bfe 100644 --- a/src/commands/Moderation/Case.ts +++ b/src/commands/Moderation/Case.ts @@ -86,6 +86,8 @@ export const Command: MeteoriumCommand = { .catch(() => null); */ + console.log("yes"); + const Embed = new MeteoriumEmbedBuilder(undefined, interaction.user) .setAuthor({ name: `Case: #${CaseId} | ${Case.Action} | ${Case.TargetUserId}`, @@ -104,9 +106,13 @@ export const Command: MeteoriumCommand = { .setThumbnail(Case.ModeratorAttachment == "" ? null : Case.ModeratorAttachment) .setColor("Red"); + console.log("yes1"); + if (Case.Action == ModerationAction.Ban) Embed.addFields({ name: "Appealable", value: Case.NotAppealable ? "No" : "Yes" }); + console.log("yes2"); + return await interaction.reply({ embeds: [Embed], });