Discord AI Bot

Discord AI Bot

Bun-powered Discord bot with Vercel AI SDK integrations, voice support, and modular tooling.

Discord AI Bot is a Bun-based TypeScript runtime that pairs discord.js with the Vercel AI SDK. The bot is designed to swap AI providers easily and supports both text and voice flows, with optional speech tooling layered into the same command pipeline.

The runtime keeps command registration, event handling, and AI tool execution modular so new skills can be added without touching the core. Voice features rely on Discord's voice stack plus Deepgram and ElevenLabs, while Upstash Redis is used to rate-limit and protect long-running requests.

  • Slash command framework with modular handlers.
  • Multi-provider AI routing via the Vercel AI SDK.
  • Voice pipeline with STT/TTS integrations.
  • Bun, TypeScript, discord.js.
  • OpenAI/Anthropic/OpenRouter/Google providers.
  • Upstash Redis, Pino, ESLint/Prettier.