22 lines
691 B
Java
Raw Normal View History

2024-06-27 14:29:48 +01:00
package cc.fascinated.bat.features.afk;
2024-06-27 16:01:27 +01:00
import cc.fascinated.bat.command.Category;
2024-06-27 14:29:48 +01:00
import cc.fascinated.bat.features.Feature;
import cc.fascinated.bat.features.afk.command.AfkCommand;
import cc.fascinated.bat.service.CommandService;
import lombok.NonNull;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
/**
* @author Fascinated (fascinated7)
*/
@Component
public class AfkFeature extends Feature {
public AfkFeature(@NonNull ApplicationContext context, @NonNull CommandService commandService) {
super("AFK", true, Category.GENERAL);
2024-06-27 14:29:48 +01:00
2024-06-27 16:01:27 +01:00
registerCommand(commandService, context.getBean(AfkCommand.class));
2024-06-27 14:29:48 +01:00
}
}