forked from Fascinated/Bat
fix help not working without a guild
This commit is contained in:
parent
29d3fe3701
commit
650556079b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user