From 650556079beed28ecfdd98714eb706daa661eb7d Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 5 Jul 2024 23:15:29 +0100 Subject: [PATCH] fix help not working without a guild --- .../bat/features/base/commands/general/HelpCommand.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/base/commands/general/HelpCommand.java b/src/main/java/cc/fascinated/bat/features/base/commands/general/HelpCommand.java index ddf6dee..d214d38 100644 --- a/src/main/java/cc/fascinated/bat/features/base/commands/general/HelpCommand.java +++ b/src/main/java/cc/fascinated/bat/features/base/commands/general/HelpCommand.java @@ -50,9 +50,6 @@ public class HelpCommand extends BatCommand implements EventListener { @Override public void onStringSelectInteraction(BatGuild guild, @NonNull BatUser user, @NonNull StringSelectInteractionEvent event) { - if (event.getMember() == null) { - return; - } if (!event.getComponentId().startsWith("help")) { return; }