Wednesday impressively beat Bristol City to secure their place in the draw, while the third-round tie between the two League Two clubs will be played on Tuesday.
The tie will take place on the weekend of January 29/30.
Source: PA