forked from Fascinated/Bat
fix double interaction reply
This commit is contained in:
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()
|
||||
|
Loading…
Reference in New Issue
Block a user