From b4f4a12da8fc26ea82da5bac9211df031747ec06 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 5 Jul 2024 20:49:22 +0100 Subject: [PATCH] fix double interaction reply --- .../scoresaber/command/scoresaber/UserSubCommand.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/scoresaber/command/scoresaber/UserSubCommand.java b/src/main/java/cc/fascinated/bat/features/scoresaber/command/scoresaber/UserSubCommand.java index 5d59a44..889157d 100644 --- a/src/main/java/cc/fascinated/bat/features/scoresaber/command/scoresaber/UserSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/scoresaber/command/scoresaber/UserSubCommand.java @@ -39,16 +39,6 @@ public class UserSubCommand extends BatCommand { if (option == null) { return; } - - if (option.getAsUser().isBot()) { - event.replyEmbeds(EmbedUtils.errorEmbed() - .setDescription("You cannot view the ScoreSaber profile for a Bot") - .build()) - .setEphemeral(true) - .queue(); - return; - } - BatUser target = userService.getUser(option.getAsUser().getId()); if (target == null) { event.replyEmbeds(EmbedUtils.errorEmbed()