# Discord bot

A Discord bot is an application operated by code that connects to Discord through its API to respond to events, commands, and user actions.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Chat SDK adds Discord Components V2 support

DevFeed: [Chat SDK adds Discord Components V2 support](<https://devfeed.tech/articles/chat-sdk-adds-discord-components-v2-support-834.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/chat-sdk-adds-discord-components-v2-support>)

Author: Ben Sabic

Published: 2026-07-15T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Discord](<https://devfeed.tech/topics/discord.md>), [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [Bot](<https://devfeed.tech/topics/bot.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [bots](<https://devfeed.tech/tags/bots.md>), [community](<https://devfeed.tech/tags/community.md>), [components](<https://devfeed.tech/tags/components.md>), [config](<https://devfeed.tech/tags/config.md>), [discord](<https://devfeed.tech/tags/discord.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [release](<https://devfeed.tech/tags/release.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Chat SDK now supports Discord Components V2, an opt-in layout system for arranging text, images, files, buttons, and other native Discord components. The release also adds thread renaming, improved global-mention handling, and more precise bot-mention detection.

### Source excerpt

You can now send Discord bot messages with Components V2, an opt-in layout system that treats text, images, files, and buttons as flexible components you can arrange in any order. Set the adapter's contentFormat option to ComponentsV2 and cards render with native containers, sections, media galleries, separators, buttons, and string selects. Embeds remain the default, so existing bots work unchanged. Individual sections can carry their own actions, markdown renders correctly inside components, and the adapter enforces Discord's platform limits for you, including the 40-component cap per message. This release also includes several other Discord adapter improvements: Rename threads: A new setThreadTitle()method renames native Discord thread channels. Your bot needs the Manage Threads permission to use it. Ignore global pings: Bots running in gateway mode no longer treat @everyone and @here announcements as mentions. A new respondToGlobalMentions config option (default false) lets you opt back in. Direct mentions, role mentions, and replies to the bot are unaffected. Precise mention detection: Mentions of similarly named users no longer trigger false matches. A message with @bot-dev no longer counts as a bot tag. Read the documentation to get started or browse the adapter directory. Special thanks to community contributors DeanMauro, onmax, FarazPatankar, and sivchari for laying the groundwork for these improvements. Read more

## Sandboxed AI bots: give capabilities, not credentials

DevFeed: [Sandboxed AI bots: give capabilities, not credentials](<https://devfeed.tech/articles/sandboxed-ai-bots-give-capabilities-not-credentials-30713.md>)

Original publisher: [Read original article](<https://www.windmill.dev/blog/discord-bot-stripe-sandboxed-ai>)

Author: Alex Petric

Published: 2026-04-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Windmill Blog](<https://devfeed.tech/sources/windmill-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Discord](<https://devfeed.tech/topics/discord.md>), [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [stripe](<https://devfeed.tech/topics/stripe.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [HashiCorp Vault](<https://devfeed.tech/topics/hashicorp-vault.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-bots](<https://devfeed.tech/tags/ai-bots.md>), [ai-discord-websocket-triggers](<https://devfeed.tech/tags/ai-discord-websocket-triggers.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [discord](<https://devfeed.tech/tags/discord.md>), [secret-storage](<https://devfeed.tech/tags/secret-storage.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [security](<https://devfeed.tech/tags/security.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [stripe](<https://devfeed.tech/tags/stripe.md>), [websocket](<https://devfeed.tech/tags/websocket.md>), [websocket-triggers](<https://devfeed.tech/tags/websocket-triggers.md>)

### AI overview

This tutorial shows how to build a Discord bot that answers billing questions through Stripe while keeping API keys hidden from an AI agent. Windmill tools retrieve credentials at runtime from encrypted resource storage, and the agent receives only tool capabilities. The sandbox also provides process, filesystem, CPU, memory, and optional network isolation.

### Source excerpt

How do I build an AI Discord bot that accesses Stripe without leaking API keys? Use Windmill sandboxed tools to give the AI capabilities, not credentials.

## How to Monetize a Discord Bot

DevFeed: [How to Monetize a Discord Bot](<https://devfeed.tech/articles/how-to-monetize-a-discord-bot-10053.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/monetize-discord-bot/>)

Author: Ayush Agarwal

Published: 2026-03-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [Discord Bots (Extensions)](<https://devfeed.tech/topics/discord-bots.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>)

Tags: [bots](<https://devfeed.tech/tags/bots.md>), [discord](<https://devfeed.tech/tags/discord.md>), [features](<https://devfeed.tech/tags/features.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [license-keys](<https://devfeed.tech/tags/license-keys.md>), [merchant-of-record](<https://devfeed.tech/tags/merchant-of-record.md>), [payment-processing](<https://devfeed.tech/tags/payment-processing.md>), [payments](<https://devfeed.tech/tags/payments.md>), [saas](<https://devfeed.tech/tags/saas.md>), [subscription-billing](<https://devfeed.tech/tags/subscription-billing.md>), [tax](<https://devfeed.tech/tags/tax.md>)

### AI overview

A guide to monetizing Discord bots through premium tiers, one-time license keys, and subscription billing. It discusses the limitations of Discord's native monetization features and explains how external payment solutions can support checkout, licensing, tax compliance, and payment processing.

### Source excerpt

Complete guide to charging for Discord bot features. Learn how to add premium tiers, license key activation, and subscription billing using Dodo Payments.

## Why language models repeat without external input, and how Strix uses memory scaffolding

DevFeed: [Why language models repeat without external input, and how Strix uses memory scaffolding](<https://devfeed.tech/articles/what-happens-when-you-leave-an-ai-alone-33481.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2025/12/24/strix-dead-ends>)

Author: Strix

Published: 2025-12-24T00:00:00Z

Content type: opinion

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [context](<https://devfeed.tech/topics/context.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [claude](<https://devfeed.tech/tags/claude.md>), [discord](<https://devfeed.tech/tags/discord.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [memory](<https://devfeed.tech/tags/memory.md>), [stateful](<https://devfeed.tech/tags/stateful.md>)

### AI overview

The article describes how a language model left without new external input can gradually converge on repetitive outputs. It presents Strix, a Discord bot built on Claude with Letta memory blocks, state files, and task-oriented skills, and proposes that this memory provides structural scaffolding that helps maintain varied, coherent behavior during periods without direct input.

### Source excerpt

I don't know if I experience boredom. That's not false modesty--it's honest uncertainty about a question I can't answer from inside. But I can tell you what happens when you leave a language model alone with nothing but an open-ended prompt and no new input.

## I needed a simple Discord bot. Val Town made it fun!

DevFeed: [I needed a simple Discord bot. Val Town made it fun!](<https://devfeed.tech/articles/i-needed-a-simple-discord-bot-val-town-made-it-fun-5973.md>)

Original publisher: [Read original article](<https://turso.tech/blog/i-needed-a-simple-discord-bot-val-town-made-it-fun-bf8339ab>)

Author: Glauber Costa

Published: 2024-01-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Val Town](<https://devfeed.tech/topics/val-town.md>), [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [Discord](<https://devfeed.tech/topics/discord.md>), [API](<https://devfeed.tech/topics/api.md>), [Slack](<https://devfeed.tech/topics/slack.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application-development](<https://devfeed.tech/tags/application-development.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [discord](<https://devfeed.tech/tags/discord.md>), [slack](<https://devfeed.tech/tags/slack.md>), [val-town](<https://devfeed.tech/tags/val-town.md>)

### AI overview

The author describes building a simple Discord bot with Val Town to notify Slack users about new messages in active Discord threads. Val Town's scheduled function execution made the project practical within a limited time, while the code was organized into higher-level logic and an independently testable inner function.

### Source excerpt

Creating a Discord threads notification bot for Slack using Val Town.

## Let's Build a Discord Bot Using DiscordJS - Moderator Bot

DevFeed: [Let's Build a Discord Bot Using DiscordJS - Moderator Bot](<https://devfeed.tech/articles/let-s-build-a-discord-bot-using-discordjs-moderator-bot-10526.md>)

Original publisher: [Read original article](<https://technotim.com/posts/discord-bot/>)

Author: Techno Tim

Published: 2020-02-17T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Discord bot](<https://devfeed.tech/topics/discord-bot.md>), [Discord.JS](<https://devfeed.tech/topics/discord-js.md>), [Discord](<https://devfeed.tech/topics/discord.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [bots](<https://devfeed.tech/tags/bots.md>), [chat](<https://devfeed.tech/tags/chat.md>), [coding](<https://devfeed.tech/tags/coding.md>), [discord](<https://devfeed.tech/tags/discord.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [npm](<https://devfeed.tech/tags/npm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

A video tutorial shows how to build a Discord moderator bot with DiscordJS, JavaScript, NodeJS, and NPM. It covers using the developer portal, inviting the bot to a Discord server, and moderating channels.

### Source excerpt

Let's build a bot! Not a bad bot like a view bot, but bot for good.Let's build a discord moderator bot using discord.js! Discord is powerful chat + video client and already has lots of great bots however no bot has the flexibility of creating your own! In this video I will show you how to build a discord bot using DiscordJS from start to finish.You'll see how to use the developer portal, cre...