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