Rovers will head to Rochdale in the second round of the Checkatrade Trophy.
Rovers qualified for the second round after finishing second in Northern Group H, while Dale were winners of Northern Group C.
The tie will take place at the Crown Oil Arena in the week beginning December 4.