From 71da6087f8ddb29bff37fe4ef05297ef0289b2f4 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 10 Mar 2024 23:47:35 -0600 Subject: [PATCH] Remove staff check, if non staff can see it, there are bigger issues --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index a6805ad..e0fcc79 100644 --- a/index.js +++ b/index.js @@ -83,8 +83,6 @@ client.on("interactionCreate", async (interaction) => { content: "Something went wrong, this ticket is not seen as active/monitored. Please revert to using reactions.", ephemeral: true }); - // Check if the user is staff, Just check for admin perm, you can add more checks if you want - if (!interaction.member.permissions.has("ADMINISTRATOR")) return; msg = activeTickets[interaction.message.id].adminMessage; switch (interaction.customId) { case "accept":