I need help with my macro

I’m trying to make a macro for my affliction warlock to use all of my DoTs then use Deathbolt when possible but it doesn’t work, please help.

/castsequence [harm] reset=10 Corruption, Agony Unstable, Affliction

i think you want a 1 button macro to play your warlock, the problem with putting deathbolt inside a castsequence is the 30sec CD on it, could potencially lock your macro, any way you may like to check the lazymacro web page.

https://wowlazymacros.com/c/warlock/affliction/78

Thanks man.