forked from Fascinated/Bat
ples bby gurl
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