@unbound-app/api package. Import modules by name from the package root, or import each one from its own subpath. At runtime, the same modules are available on the unbound global.
If you’re new, start with Metro. Almost everything else, including assets, i18n, stores, and your own addons, uses it to locate Discord’s modules.
Modules
Metro
Find the Discord module you need before you patch it.
Storage
Reactive, persisted settings: read, write, and re-render on change.
Settings
Register your own screens into Discord’s settings navigation.
Assets
Look up Discord’s bundled images and icons by name.
Native
Bridge to the app’s native iOS and Android modules.
Toasts
Show transient, non-blocking notifications.
i18n
Localize your addon to the user’s Discord language.
File System
Read, write, and check files against the documents directory.
Managers
How plugins and themes are loaded, started, and persisted.