From 66aaf8085b1c72daf03a0d850e7af710a7bb0715 Mon Sep 17 00:00:00 2001 From: Shadow Date: Tue, 24 Dec 2024 23:10:56 -0500 Subject: [PATCH] Remove permissions check (#918) Co-authored-by: theimperious1 --- 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') {