ples bby gurl

This commit is contained in:
Lee 2024-07-04 15:27:08 +01:00
parent 5e17f655a4
commit 4ae2e7566a

@ -68,7 +68,7 @@ public abstract class BatCommand {
if (info.isGuildOnly()) { if (info.isGuildOnly()) {
contextTypes.add(InteractionContextType.GUILD); contextTypes.add(InteractionContextType.GUILD);
} else { } else {
contextTypes.addAll(List.of(InteractionContextType.values())); contextTypes.addAll(InteractionContextType.ALL);
} }
commandData = new CommandDataImpl(info.getName(), info.getDescription()) commandData = new CommandDataImpl(info.getName(), info.getDescription())
.setContexts(contextTypes) .setContexts(contextTypes)