Skip to content

Package

http v0.10.2

Changelog

seedcordseedcord

The whole Discord bot, typed end to end

Website · Guide · Reference · Discord

npm node bun license

About

@seedcord/http runs a seedcord bot on Discord's interactions endpoint. Discord posts each interaction to your URL. The framework verifies the Ed25519 signature before dispatching it.

Discord posts only interactions over this transport. Use @seedcord/gateway when the bot reacts to messages, members, or voice.

Until v1.0.0, minor versions can break.

Installation

pnpm add @seedcord/http

pnpm create seedcord scaffolds the whole project. On this transport pnpm dev also opens a cloudflared tunnel and registers the URL with Discord.

Entry points

The root entry runs on Node through the Seedcord class.

@seedcord/http/edge targets Web-standard runtimes through createSeedcord. The Node entry re-exports all of it. The edge build for Cloudflare Workers is a work in progress and cannot be used yet.