package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.subsystems.IntakeSubsystem;
public class IntakeAuto extends Command{
    private final IntakeSubsystem intake;
    public IntakeAuto(IntakeSubsystem intakeRef) {
        this.intake = intakeRef;
        addRequirements(this.intake);
    }
    @Override
    public void execute() {
        this.intake.CoralTrue();
        
    }
    @Override
    public void end(boolean interrupted) {
        this.intake.stop();
    }
    @Override
    public boolean isFinished() {
        return false; 
        
    }

}
