Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
stop it alredy
Browse files Browse the repository at this point in the history
  • Loading branch information
RealEthanPlayzDev committed Feb 6, 2024
1 parent 179e844 commit 715eb57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/commands/Moderation/Case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand All @@ -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],
});
Expand Down

0 comments on commit 715eb57

Please sign in to comment.