Contextual ligatures

Hello,

If there is already a thread on this topic, I apologize and would be happy to be pointed in the right direction.

I have a standard ligature that I want to apply in all cases except when followed by a ‘t’. What is the best way to go about this?

Thank you.