Productivity
discord avatar

discord

Discord integration for automated messaging, channel management, and rich UI interactions using the OpenClaw agent.

Introduction

The Discord skill enables your OpenClaw agent to act as a fully functional participant within your Discord servers. By leveraging the message tool, the agent can handle complex communication workflows, manage channel operations, and provide interactive experiences using Discord's modern component framework. This skill is designed for power users and developers who need to bridge their AI agent with Discord's real-time communication ecosystem, facilitating tasks like automated status reporting, community interaction, and server moderation directly from the agent interface.

  • Full message lifecycle management including sending, editing, deleting, and pinning messages.

  • Advanced UI capabilities using Discord components v2, allowing for rich interaction structures like buttons and menus without relying on legacy embeds.

  • Support for real-time engagement features such as message reactions, thread creation, and polls.

  • Presence control to update agent status, activity type, and current availability.

  • Integrated search functionality to query specific guild channels based on user-defined limits and keywords.

  • Native support for media attachments and silent notification triggers to reduce noise in high-traffic channels.

  • Always initialize requests with channel: discord to ensure proper routing through the OpenClaw message bridge.

  • Use explicit identifiers for guildId, channelId, and messageId to ensure precision in targeting actions; prefer explicit IDs over general descriptors.

  • Note that certain actions like moderation, roles, and presence are subject to gating and default privacy settings; verify channel permissions before execution.

  • Avoid using markdown tables in outbound messages as Discord's rendering for tables is inconsistent; favor structured component layouts instead.

  • Mention users correctly using the <@USER_ID> syntax to ensure notifications are delivered appropriately.

  • When creating rich interfaces, opt for components v2; avoid mixing components and legacy embeds as this can cause API rejection by Discord.

  • The agent is designed to be conversational and low-ceremony; keep messages concise and relevant to the context of the Discord thread.

Repository Stats

Stars
366,054
Forks
75,054
Open Issues
6,981
Language
TypeScript
Default Branch
main
Sync Status
Idle
Last Synced
Apr 29, 2026, 07:31 AM
View on GitHub