← 返回
沟通协作 Key 中文

Discord Context

Sync and cache per-thread context for Discord Forum channels. Use when handling /discord-context commands to poll active threads, list cached context, inspec...
同步并缓存Discord论坛频道的每线程上下文。用于处理/discord-context命令以轮询活跃线程、列出缓存上下文及检查...
demitrim
沟通协作 clawhub v0.1.1 1 版本 99763.4 Key: 需要
★ 0
Stars
📥 1,265
下载
💾 19
安装
1
版本
#latest

概述

discord-context

Run node {baseDir}/scripts/discord-context-cli.js ....

Commands

  • poll [--guild ] [--forum ] [--workspace ]
  • Pull active threads from Discord and refresh cache for new/updated threads.
  • Requires DISCORD_TOKEN plus guild/forum IDs (flags or env vars).
  • context [threadId] [--workspace ] [--json]
  • Without threadId: list cached threads.
  • With threadId: print cached context and metadata for one thread.
  • link [--workspace ]
  • Link a thread to memory/.md and refresh cached context text.

Environment

  • DISCORD_TOKEN (required for poll)
  • DISCORD_GUILD_ID (default guild id for poll)
  • DISCORD_FORUM_CHANNEL_ID (default forum id for poll)
  • OPENCLAW_WORKSPACE (defaults to ~/.openclaw/workspace)

Security Rules

  • Never hardcode Discord tokens.
  • Accept only numeric thread/guild/forum IDs.
  • Accept only [a-zA-Z0-9_-]+ for qmdName.
  • Keep all reads/writes inside the workspace memory/ tree.

Paths

  • Cache metadata: memory/discord-cache/thread-.json
  • Cache text: memory/discord-cache/thread--context.txt
  • Source context files: memory/*.md

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-29 02:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Gmail

byungkyu
Gmail API 集成,托管 OAuth,支持读取、发送和管理邮件、线程、标签及草稿,适用于需要与 Gmail 交互的场景。
★ 72 📥 37,724
communication-collaboration

Himalaya

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

imap-smtp-email

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