fix help not working without a guild
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 42s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 42s
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