After Elgin's success in the Moray Shield and North of Scotland cup last season, Robbo's men will be looking for their first victory in a national cup since joining the SFL.
The game is to be played on Saturday 31st July at Alloa's recreation ground.
Full draw:
Alloa Athletic v Elgin City
Inverness CT/Partick Thistle v Brechin City
East Fife v Cowdenbeath
Airdrie Utd v Queen of the South
St Johnstone v Hamilton Academical
Ross County v St Mirren
East Stirlingshire v Berwick Rangers
Gretna v Montrose
Ayr United v Falkirk
Forfar Athletic v Morton
Dumbarton v Stirling Albion
Raith Rovers v Albion Rovers
Queen's Park v Stenhousemuir
Arbroath v Peterhead
Byes were given to Clyde and Stranraer