# GetAddOnOptionalDependencies is not in World of Warcraft Forever: write C_AddOns.GetAddOnOptionalDependencies

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

```lua
deps = C_AddOns.GetAddOnOptionalDependencies(name)
```

Arguments:
- `name`: uiAddon

Returns:
- `deps`: cstring

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