This commit is contained in:
parent
96e7518f72
commit
d6175b3f92
@ -67,7 +67,7 @@ public abstract class BatCommand {
|
||||
}
|
||||
info = new InternalCommandInfo(getClass().getAnnotation(CommandInfo.class));
|
||||
commandData = new CommandDataImpl(info.getName(), info.getDescription())
|
||||
.setDefaultPermissions(DefaultMemberPermissions.enabledFor(info.getPermissions()))
|
||||
// .setDefaultPermissions(DefaultMemberPermissions.enabledFor(info.getPermissions()))
|
||||
.setIntegrationTypes(info.isUserInstall() ?
|
||||
EnumSet.of(IntegrationType.USER_INSTALL) :
|
||||
EnumSet.of(IntegrationType.GUILD_INSTALL)
|
||||
|
Loading…
Reference in New Issue
Block a user