fix double interaction reply

This commit is contained in:
Lee 2024-07-05 20:49:22 +01:00
parent bb81c098b2
commit b4f4a12da8

@ -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()