Update src/main/java/cc/fascinated/bat/features/base/BaseFeature.java
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
parent
585d3e0793
commit
41f92400c7
@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
|||||||
public class BaseFeature extends Feature {
|
public class BaseFeature extends Feature {
|
||||||
@Autowired
|
@Autowired
|
||||||
public BaseFeature(@NonNull ApplicationContext context, @NonNull CommandService commandService) {
|
public BaseFeature(@NonNull ApplicationContext context, @NonNull CommandService commandService) {
|
||||||
super("Base", FeatureProfile.FeatureState.DISABLED, false);
|
super("Base", FeatureProfile.FeatureState.ENABLED, false);
|
||||||
|
|
||||||
super.registerCommand(commandService, context.getBean(PremiumCommand.class));
|
super.registerCommand(commandService, context.getBean(PremiumCommand.class));
|
||||||
super.registerCommand(commandService, context.getBean(BotAdminCommand.class));
|
super.registerCommand(commandService, context.getBean(BotAdminCommand.class));
|
||||||
|
Loading…
Reference in New Issue
Block a user