Kilmarnock will face Hamilton in the Betfred Cup second-round.
Angelo Alessio's men will host Accies in an all-Premiership clash.
This will be the first time Killie are seeded in the second-round of the Betfred Cup format.
In the first year (2016/17) they came second in a group of Morton, Clyde, Albion Rovers and Berwick Rangers.
The following two years they qualified unseeded and drew Celtic away and Rangers at home.
Full draw: Hibernian v Morton; Partick Thistle v Ross County; Motherwell v Hearts; Dundee v Aberdeen; Celtic v Dunfermline; Forfar v Livingston; Kilmarnock v Hamilton; East Fife v Rangers.
The games will be played on the weekend of August 17/18 and are subject to change for TV selections.