Skip to content
Search
Search the documentation
Honocord
GitHub 7

Discord bots that run on a single HTTP endpoint.

Honocord handles Discord's interactions on Hono, so your bot runs on Cloudflare Workers, Bun or Node with no gateway connection.

new SlashCommandHandler()
  .setName("ping")
  .setDescription("Replies with Pong!")
  .addHandler(async (interaction) => {
    await interaction.reply("Pong!");
  });
pnpm add honocord hono

What you get

Edge-first

Runs on Cloudflare Workers, Bun and Node.js, on one HTTP endpoint.

Fully typed

Built on discord-api-types, with typed env bindings and variables for every handler.

Handler-based

Commands, components, modals and webhook events each get their own handler.

Secure by default

Every request's Ed25519 signature is verified for you.

Familiar builders

The discord.js builders are re-exported for embeds, buttons and modals.

Autocomplete built in

A helper answers slash command autocomplete in a few lines.

Help and community

Ask in the Discord server, report bugs on GitHub, or browse working bots in the examples repo.

Yes, AI helped me build this package.