Wrong consistency when making "after eight" chocolate
Recipe requests are off-topic but I can solve your problem nonetheless:

After Eights are filled with soft fondant, which is sugar, often glucose syrup and water boiled to the soft ball stage, then whiped. If you google "poured fondant" you should find enough recipes online.