discord-bot

Configure and deploy Discord bots on Cloudflare Workers with Ed25519 verification.

16|4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rianvdm/product-ai-public --skill discord-bot-rianvdm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discord-bot
Source: https://github.com/rianvdm/product-ai-public/tree/main/.opencode/skills/discord-bot
Command: npx skills add https://github.com/rianvdm/product-ai-public --skill discord-bot-rianvdm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers to build and deploy Discord bots on Cloudflare Workers, handling slash commands, gateway events, and secure verification.

Core Features & Use Cases

  • Interactions Endpoint for slash commands and components
  • Gateway WebSocket support for real-time events
  • Ed25519 verification and Developer Portal setup
  • Use Case: Deploy a bot to a server and enable slash commands with persistent state

Quick Start

Register a Discord application, deploy a Cloudflare Worker, and configure the Interactions Endpoint URL to start handling slash commands.

Frequently Asked Questions about discord-bot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Discord bot on Cloudflare Workers?

Deploying a Discord bot on Cloudflare Workers involves registering a Discord application, deploying the worker code, and configuring the Interactions Endpoint URL to process slash commands and secure requests via Ed25519 verification.

Does Discord bot development on Cloudflare Workers support WebSocket Gateway events?

Yes, this approach supports WebSocket Gateway for real-time events. It utilizes Durable Object-based persistence to maintain state across gateway connections and ongoing bot interactions.

How does Ed25519 verification work for Discord bot interactions?

Ed25519 verification secures incoming Discord interactions by cryptographically validating request signatures. This ensures that only authentic requests from Discord trigger your Cloudflare Worker slash commands.

Can I manage slash commands and persistent state using a Cloudflare Workers Discord bot?

Yes, you can manage slash commands through the HTTP Interactions Endpoint and maintain persistent state using Durable Objects. This combination enables reliable bot deployment with ongoing data maintenance.

What do I need to set up in the Discord Developer Portal for a Cloudflare Workers bot?

In the Discord Developer Portal, you must set up application intents, configure bot permissions, and register your Cloudflare Workers Interactions Endpoint URL to enable secure slash command routing.