From 8e6a114501bc0872933177afe6b2e8e03494d3e3 Mon Sep 17 00:00:00 2001 From: theimperious1 Date: Tue, 24 Dec 2024 23:09:01 -0500 Subject: [PATCH] Remove permissions check --- src/discord/commands/guild/d.watchuser.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/discord/commands/guild/d.watchuser.ts b/src/discord/commands/guild/d.watchuser.ts index 3d2e87c1..99ef1c77 100644 --- a/src/discord/commands/guild/d.watchuser.ts +++ b/src/discord/commands/guild/d.watchuser.ts @@ -45,13 +45,6 @@ export const dWatchUser: SlashCommand = { return false; } - if (!(interaction.member as GuildMember).roles.cache.some( - (role: Role) => (role.id === env.ROLE_MODERATOR || role.id === env.DEVELOPER), - )) { - await interaction.reply('You do not have permission to use this command.'); - return false; - } - const targetUser = interaction.options.getUser('target', true); if (interaction.options.getSubcommand() === 'cancel') {