ples bby gurl
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 48s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 48s
This commit is contained in:
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user