Discord Chat for Openclaw

A comprehensive communication skill enabling AI agents to interact with Discord channels through messages, replies, reactions, and advanced history searching.

bowenqt
v1.0.0
Jan 27, 2026
2
6.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install discord-chat

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install discord-chat using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Discord Chat?

The Discord Chat skill provides a powerful bridge between your AI workflows and Discord communities. By utilizing the Openclaw Skills framework, this integration allows Clawdbot to perform a full suite of messaging actions, from simple text announcements to complex threaded replies and channel moderation tasks. It is designed to make AI agents active, context-aware participants in any Discord server.

This skill simplifies the interaction with Discord's API by offering a unified tool interface. Whether you need to monitor recent activity, acknowledge user input with reactions, or programmatically manage channel content, Discord Chat ensures your agent communicates effectively while adhering to platform best practices.

Discord Chat Use Cases

  • Sending automated system alerts or announcements to specific #channels.
  • Engaging in threaded conversations by replying to specific message IDs.
  • Performing deep searches across message history to retrieve specific technical data or mentions.
  • Moderating content by editing or deleting messages based on agent logic.
  • Acknowledging user requests using emoji reactions for a less intrusive user experience.

How Discord Chat Works

  1. The AI agent identifies the need to communicate via Discord and invokes the message tool with channel=discord.
  2. The Openclaw Skills routing engine directs the request to the configured Discord plugin.
  3. The skill parses the target, which can be a channel name (e.g., #general) or a direct numeric channel ID.
  4. For search operations, the skill queries the Discord API using parameters like query, authorId, and pagination markers (before/after).
  5. Responses, including message metadata or search results, are formatted and returned to the agent for further processing.

Discord Chat Setup

To utilize this skill, ensure your Discord bot credentials and configuration are properly set in your gateway settings. The Openclaw Skills environment will automatically route commands once the plugin is active.

# Send a test message to a specific channel
message action=send channel=discord target="#general" message="Hello from the Openclaw Skills integration!"

Discord Chat Data Schema & Taxonomy

The skill utilizes a structured parameter set to interface with Discord's messaging system:

Parameter Description Requirement
action The operation to perform (send, search, read, react, edit, delete) Required
target The destination channel name (with #) or Channel ID Required for send/read
message The text content of the message Required for send/edit
replyTo The message ID used to create a threaded reply Optional
query Terms used for searching channel history Required for search
emoji The specific emoji for reactions Required for react

Discord Chat Advanced Features

  • Support for Discord message effects such as balloons or invisible-ink for specialized notifications.
  • Automatic embed suppression for cleaner layouts by wrapping URLs in <> brackets.
  • Pagination support for search and read actions using before, after, and around message IDs.
  • Server-wide channel management including guildId-based channel listing and metadata retrieval.
  • Optimized batch reaction handling to maintain high-quality interaction without channel clutter.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*