fix button interactions
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 49s

This commit is contained in:
Lee
2024-07-04 15:53:49 +01:00
parent ee62eae519
commit 16e956d718
3 changed files with 1 additions and 7 deletions

View File

@ -52,7 +52,7 @@ public class HelpCommand extends BatCommand implements EventListener {
@Override
public void onStringSelectInteraction(BatGuild guild, @NonNull BatUser user, @NonNull StringSelectInteractionEvent event) {
if (guild == null || event.getMember() == null) {
if (event.getMember() == null) {
return;
}
if (!event.getComponentId().startsWith("help")) {