← 返回
沟通协作 Key 中文

Discord Bridge

Bridge Discord messages to Agent Zero's HTTP API
将Discord消息桥接至Agent Zero的HTTP API。
wespeakallday
沟通协作 clawhub v1.0.1 1 版本 99861.5 Key: 需要
★ 0
Stars
📥 721
下载
💾 7
安装
1
版本
#latest

概述

Discord Bridge Skill

Overview

Bridges Discord messages to Agent Zero's api_message HTTP endpoint, enabling Discord users to interact with Agent Zero agents.

Purpose

  • Forward Discord messages from specific channels to Agent Zero
  • Handle async Discord bot events
  • Support command prefix filtering
  • Session-based message bridging

Input Variables

VariableDescriptionExample
--------------------------------
{{DISCORD_BOT_TOKEN}}Discord bot authentication tokenBot token from Discord Developer Portal
{{A0_API_URL}}Agent Zero API endpointhttp://localhost:80/api_message
{{A0_API_KEY}}Agent Zero API authenticationmcp_server_token from settings
{{DISCORD_CHANNEL_IDS}}Comma-separated allowed channel IDs"123456789,987654321"
{{BOT_CMD_PREFIX}}Command prefix for bot commands"!"

Triggers

  • Discord on_message event
  • Filtered by ALLOWED_CHANNEL_SET (if configured)
  • Messages containing command prefix for special handling

APIs & Dependencies

  • discord.py: Discord bot framework
  • aiohttp: Async HTTP client for API calls
  • python-dotenv: Environment variable management

Files

  • index.py - Main Discord bot logic
  • .env.example - Environment template

Usage

# Install dependencies
pip install discord.py aiohttp python-dotenv

# Configure environment
cp .env.example .env
# Edit .env with your credentials

# Run the bridge
python index.py

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 01:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Daily Social Media Publisher

wespeakallday
使用 NewsAPI 为 PayLessTax 和 LevelUpLove 每日发布社交媒体内容
★ 0 📥 2,487
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,596
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,449