If anything appropriately describes castsequences it would be that sentence.
Based off what you seem to be attempting I’d drop the reset to 1 or maybe 0.5. That way if you keep spamming the key it’ll sequence Dire Beast but if you stop briefly it’ll reset.
#showtooltip
/castsequence reset=1 Cobra Shot, Dire Beast
If it was me personally, I’d just stick Dire Beast on a modified press but then you’d still be hitting 2 buttons.