All plugins
Discord API
Discord HTTP API imported from Discord's official OpenAPI spec
APICategory: commsPopularity 87
discord_apiDiscord HTTP API imported from Discord's official OpenAPI spec
Open in dashboard →
See the live tool list, OAuth status, and recent calls.
Install command
Run the install command shown below to add this plugin to your workspace.
Install
hrbr plugins install discord-apiHarbor calls https://discord.com/api/v10 (driven by the upstream OpenAPI spec).
Quick start
hrbr exec 'return await discord_api.get({ /* see schema */ })'Or from a Function:
import { defineOrbitJob } from "@hrbr/orbit";
export default defineOrbitJob({
name: "discord-api-example",
handler: async (ctx) => {
return await ctx.plugins.discord_api.list({ limit: 5 });
},
});Tools
Tools are generated from the upstream OpenAPI spec. Inspect with:
hrbr plugins tools discord-apiOr open the dashboard plugin page for the live tool list.