Remove staff check, if non staff can see it, there are bigger issues

This commit is contained in:
Christopher Cookman 2024-03-10 23:47:35 -06:00
parent 8f0fcded62
commit 71da6087f8
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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":