Unfortunately, there are only two ways to get Diluc in Genshin Impact, and both of them are Wishing related which is up to chance. The first way you can get Diluc is by Wishing on the Wanderlust Invocation Banner and the other way is by Wishing on a Limited-Time Banner.