Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
openclaw-plugin-discord-embed logo

openclaw-plugin-discord-embed

davidguttman/openclaw-plugin-discord-embed

Otheropenclawby davidguttman

Summary

OpenClaw plugin exposing 0 skills.

Install to Claude Code

openclaw plugin add davidguttman/openclaw-plugin-discord-embed

Run in Claude Code. Add the marketplace first with /plugin marketplace add davidguttman/openclaw-plugin-discord-embed if you haven't already.

README.md

openclaw-plugin-discord-embed

OpenClaw plugin for sending rich Discord embeds with full formatting support.

Features

  • Full Discord embed support: title, description, fields, author, thumbnail, image, footer, timestamp, color
  • Color parsing (hex strings "#5865F2" or integers)
  • Reply threading via reply_to
  • Validation of all Discord embed limits with clear error messages
  • 30-second request timeout
  • Zero runtime dependencies (uses native fetch)

Installation

Add the plugin path to your OpenClaw config:

{
  "plugins": {
    "load": {
      "paths": [
        "/path/to/openclaw-plugin-discord-embed"
      ]
    },
    "entries": {
      "openclaw-plugin-discord-embed": {
        "enabled": true
      }
    }
  }
}

Then restart OpenClaw (full restart required for plugin changes):

pkill openclaw-gateway
openclaw gateway start

Configuration

The plugin reads the Discord bot token from your OpenClaw config at channels.discord.token. No additional configuration required if you already have Discord set up.

Usage

The plugin provides a discord_embed tool:

discord_embed({
  channel: string,           // Discord channel ID (required)
  content?: string,          // Plain text above the embed
  reply_to?: string,         // Message ID to reply to
  embed: {                   // Embed object (required)
    title?: string,          // Max 256 chars
    description?: string,    // Max 4096 chars
    url?: string,            // Makes title a hyperlink
    color?: string | number, // "#5865F2" or 5793266
    author?: {
      name: string,          // Required if author present, max 256 chars
      url?: string,
      icon_url?: string,
    },
    thumbnail?: { url: string },
    fields?: [{              // Max 25 fields
      name: string,          // Required, max 256 chars
      value: string,         // Required, max 1024 chars
      inline?: boolean,
    }],
    image?: { url: string },
    footer?: {
      text: string,          // Max 2048 chars
      icon_url?: string,
    },
    timestamp?: string,      // ISO8601 timestamp
  }
})

Example

discord_embed({
  channel: "1234567890",
  embed: {
    title: "Build Complete",
    description: "All tests passed!",
    color: "#00FF00",
    fields: [
      { name: "Duration", value: "2m 34s", inline: true },
      { name: "Tests", value: "142 passed", inline: true }
    ],
    footer: { text: "CI Pipeline" },
    timestamp: "2024-01-15T10:30:00Z"
  }
})

Discord Embed Limits

| Field | Limit | |-------|-------| | Title | 256 characters | | Description | 4096 characters | | Fields | 25 max | | Field name | 256 characters | | Field value | 1024 characters | | Footer text | 2048 characters | | Author name | 256 characters | | Total characters | 6000 | | Content (plain text) | 2000 characters |

The plugin validates all limits before sending and returns clear error messages indicating which limit was exceeded and by how much.

Error Handling

The plugin provides structured error responses for:

  • Missing Discord token
  • Validation failures (embed limits exceeded)
  • Network errors (with 30s timeout)
  • Discord API errors (with status code and response body)

Development

# Install dependencies
npm install

# Type check
npx tsc --noEmit

License

MIT

Related plugins

Browse all →