Need Help Programming 2 Controllers

Hello, we need help programming 2 controllers. This is what we have now.
Joystick 1 is for PWM 0,1,2,3,
Joystick 2 is for PWM 4

Our problem is that when we try to use joystick 1 it does not move the motor that is connected to PWM 4. How do we fix this?

You gave the wrong name to the motor.
Begin: “Up Pulley Motor”
Teleop: “Up Climb Motor”

You will be getting an error message in the Driver Station message window and in your DS Logs to the effect that the name doesn’t exist.