ples bby gurl
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 48s

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

View File

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