# GetSpellCooldown is not in World of Warcraft Forever: write C_Spell.GetSpellCooldown

Forever 1.60.1 (70959), Interface 16001. An addon that calls `GetSpellCooldown` stops at /reload with `attempt to call global 'GetSpellCooldown' (a nil value)`. Write `C_Spell.GetSpellCooldown`; its arguments and returns may differ from the old GetSpellCooldown, read them first. Page: https://wowaddons.gg/forever-api/C_Spell.md

```lua
spellCooldownInfo = C_Spell.GetSpellCooldown(spellIdentifier)
```

Returns nil if spell is not found

May return nothing.

Its returns can be secret values (in some instances and fights): guard them before any arithmetic.

Arguments:
- `spellIdentifier`: SpellIdentifier

Returns:
- `spellCooldownInfo`: SpellCooldownInfo

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
