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

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

```lua
spellInfo = C_Spell.GetSpellInfo(spellIdentifier)
```

Returns nil if spell is not found

May return nothing.

Arguments:
- `spellIdentifier`: SpellIdentifier. Spell ID, name, name(subtext), or link; Using name will always check for an override on that spell

Returns:
- `spellInfo`: SpellInfo

---
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."
