default disable all features and add bot join guild message
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m1s

This commit is contained in:
Lee
2024-07-05 19:33:10 +01:00
parent 4e866895a0
commit 0b09b8ba5f
24 changed files with 105 additions and 27 deletions

View File

@ -1,6 +1,7 @@
package cc.fascinated.bat.features.base;
import cc.fascinated.bat.features.Feature;
import cc.fascinated.bat.features.FeatureProfile;
import cc.fascinated.bat.features.base.commands.botadmin.premium.PremiumAdminCommand;
import cc.fascinated.bat.features.base.commands.fun.EightBallCommand;
import cc.fascinated.bat.features.base.commands.fun.image.ImageCommand;
@ -24,7 +25,7 @@ import org.springframework.stereotype.Component;
public class BaseFeature extends Feature {
@Autowired
public BaseFeature(@NonNull ApplicationContext context, @NonNull CommandService commandService) {
super("Base", false);
super("Base", FeatureProfile.FeatureState.DISABLED, false);
super.registerCommand(commandService, context.getBean(PremiumCommand.class));
super.registerCommand(commandService, context.getBean(PremiumAdminCommand.class));