{
  "id": 13992405,
  "title": "Building a Discord Bot with AI Responses: Complete Guide",
  "url": "https://urgent.news/2026/10/12/building-a-discord-bot-with-ai-responses-complete-guide",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-12T15:54:36.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ipsphil_digital/building-a-discord-bot-with-ai-responses-complete-guide-1cei"
  },
  "original_language": "en",
  "account": null,
  "summary": "This article provides a comprehensive guide on creating a Discord bot that utilizes AI APIs to generate intelligent responses to messages. It outlines the prerequisites, including Node.js version 18 or higher, a Discord Developer account, and free API keys from OpenRouter, Groq, or Together.ai. The guide walks through the process of setting up the Discord bot, including initializing the client with necessary intents, logging in using a Discord token stored in an environment variable, and integrating an AI provider such as OpenRouter. The integration process involves defining configurations for different AI providers, fetching an AI response using a POST request to the provider's API endpoint, and handling the response within the bot's event listeners.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}