Connect your dex
Use an API token created by the bot owner with /api token. Confirm the address belongs to your bot before connecting. The token stays in this tab’s memory and expires here after 15 minutes without activity.
Not connected.
Loading extras…
Build an extra
This example follows the current PND26 extras loader. Folder names below are suggestions; the root manifest and its entrypoint are required. The entrypoint must export register(client).
PND26 does not install an extra's dependencies. Use APIs already available to the bot and account for dependency resolution on the host.
Repository structure
package.json
nationdex.extra.json
src/index.ts
src/commands/hello.ts
src/slash/hello.ts
Submit an extra
Create your repository
Add your extra’s source, a license, and a
package.json. Add a rootnationdex.extra.jsonwith the extra ID, API version 1, and a relative entrypoint that exportsregister(client). See the Example tab.Pin a reviewed commit
Remote installation requires a full 40-character Git commit SHA. A branch name alone does not authorize installation.
Add your catalogue entry
For monorepos, set the optional
pathto the extra folder; omit it for a standalone repository. Fork nationdex/index and editdata/extras.json.{ "id": "example", "repo": "https://github.com/yourusername/your-extra", "branch": "main", "path": "extras/example", "ref": "<reviewed 40-character commit SHA>" }Open a pull request
The catalogue lists extras. Each bot owner independently approves repositories and exact commits in their panel before installation is possible.