Please help
You’re probably referring to the Raven: Daughter of Darkness series going on right now, right?
So what happened with Tim Drake in a recent Detective Comics arc is that he was with Batman and this team of Gotham Knights or something (Batwoman, Spoiler, Orphan, Batwing, etc.) and they were fighting Brother Eye, or OMAC or something, and Tim is bombarded with a fleet of enemy drones and he essentially uses himself as bait to save Gotham, and he’s killed by this onslaught of drones. That’s how he died then, but, there’s way more to that arc in regards to Tim Drake, so I won’t say anything else and potentially spoil it for you