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

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

```lua
spellLink = C_Spell.GetSpellLink(spellIdentifier, [glyphID])
```

Returns nil if spell is not found

May return nothing.

Arguments:
- `spellIdentifier`: SpellIdentifier
- `glyphID`: number, may be nil

Returns:
- `spellLink`: string

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