diff --git a/src/main/java/cc/fascinated/bat/features/drag/command/RequestSubCommand.java b/src/main/java/cc/fascinated/bat/features/drag/command/RequestSubCommand.java index c19ecba..4c35631 100644 --- a/src/main/java/cc/fascinated/bat/features/drag/command/RequestSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/drag/command/RequestSubCommand.java @@ -101,7 +101,6 @@ public class RequestSubCommand extends BatSubCommand implements EventListener { } VoiceChannel targetChannel = targetVoiceState.getChannel().asVoiceChannel(); - // User is already in the target channel if (voiceState.getChannel().getId().equals(targetChannel.getId())) { event.replyEmbeds(EmbedUtils.errorEmbed() diff --git a/src/main/java/cc/fascinated/bat/features/drag/listeners/request/RequestListener.java b/src/main/java/cc/fascinated/bat/features/drag/listeners/request/RequestListener.java index 406df14..f447e7c 100644 --- a/src/main/java/cc/fascinated/bat/features/drag/listeners/request/RequestListener.java +++ b/src/main/java/cc/fascinated/bat/features/drag/listeners/request/RequestListener.java @@ -27,6 +27,9 @@ public class RequestListener implements EventListener { .filter(request -> request.getMember().getId().equals(event.getUser().getId())) .findFirst(); if (optionalDragRequest.isEmpty()) { + event.replyEmbeds(EmbedUtils.errorEmbed() + .setDescription("You do not have a request to cancel.") + .build()).queue(); return; } DragRequest dragRequest = optionalDragRequest.get();