Skip to content

feat: add Discord plugin#11

Merged
FinleyGe merged 1 commit into
labring:mainfrom
Finley-Agent-Zhuazhua:feat/discord-plugin
Jul 8, 2026
Merged

feat: add Discord plugin#11
FinleyGe merged 1 commit into
labring:mainfrom
Finley-Agent-Zhuazhua:feat/discord-plugin

Conversation

@Finley-Agent-Zhuazhua

Copy link
Copy Markdown
Contributor

Summary

Adds the discord FastGPT community tool plugin as a standalone submodule.

Plugin source

Tool IDs

  • sendMessage
  • listGuildChannels
  • getChannelMessages

Verification

Plugin repository (/home/openclaw/projects/fastgpt-plugin-discord):

  • pnpm install --ignore-workspace
  • pnpm run type-check
  • pnpm test ✅ 8 tests passed
  • pnpm build
  • pnpm check
  • pnpm run pack ✅ produced fastgpt-plugin-discord.pkg

Registry repository (/home/openclaw/projects/fastgpt-community-plugins):

  • pnpm validate -- --plugin discord
  • pnpm test ✅ 34 tests passed
  • pnpm type-check
  • pnpm validate -- --base upstream/main ✅ changed plugin: discord
  • git submodule status --recursive ✅ includes packages/tools/discord at the registry commit

Remote dev debug

Skipped: remote FastGPT dev debugging requires a live FastGPT connection key and a real Discord guild/bot token. Local type checks, mocked API tests, build, check, pack, and registry validation all passed.

Notes

The current registry schema/tests reject persistent review pointers in plugins.json, so this entry follows the current repo schema (status=pending, no review field) while keeping review evidence in this PR body and checks.

@FinleyGe
FinleyGe merged commit b550fa9 into labring:main Jul 8, 2026
2 checks passed
@FinleyGe

FinleyGe commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Plugin Review: discord@0.1.0

Verdict: pass
Source: https://github.com/Finley-Agent-Zhuazhua/fastgpt-plugin-discord@82075ad5e4fb864d4f390ed21a3a5fdfbcf7f06a
Plugin root: packages/tools/discord/.

Findings

  • None blocking.

Evidence

  • registry/submodule: pnpm run validate -- --base origin/main --head HEAD passed with changedPluginIds: ["discord"]; plugins.json commit, gitlink, and submodule HEAD all resolve to 82075ad5e4fb864d4f390ed21a3a5fdfbcf7f06a.
  • install/build/check/pack: pnpm install --frozen-lockfile --ignore-workspace, pnpm run type-check, pnpm run build, sequential pnpm run check, and pnpm run pack passed. discord.pkg was generated.
  • tests: same source commit in an isolated checkout passed pnpm test with 2 test files and 8 tests. In the nested submodule path, plain pnpm test is affected by the parent repository Vitest config scanning tests/**/*.test.ts, while this plugin keeps tests under src/*.test.ts.
  • policy scan: no workspace:/catalog: dependency specifiers, no suspected hardcoded private key/token, no child_process, no destructive filesystem removal. Network access is limited to the fixed Discord REST API endpoint through fetch with the FastGPT secret-provided bot token.
  • license/source: source repo is public, pinned commit inspected, plugin includes MIT LICENSE and README documentation.
  • package sha256: 335e8376ef85d92e25ffc6e67c13247f141c1f650843aefb6d6ea3dd5e60fdc9.

Publish Decision

Proceed

Scheduled Merge Gate

Merged by scheduled run 20260708T100000Z using squash merge locked to reviewed head ee3c4dc151e684d709b1366279df995b911ae63a.

  • GitHub mergeability: clean before merge.
  • Required checks: validate check-run success; license/cla status success.
  • Review/labels/comments: no CHANGES_REQUESTED, no blocking labels, no maintainer blocking comments.
  • Merge commit: b550fa903304bd594d8f7faf8cac9a013b3a4ead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants