refactor(discord): internalize discord client

This commit is contained in:
Peter Steinberger
2026-04-29 13:22:15 +01:00
parent 20e2117371
commit f0adbd48e8
200 changed files with 16205 additions and 8341 deletions

View File

@@ -406,12 +406,12 @@ describe("collectForbiddenPackPaths", () => {
expect(
collectForbiddenPackPaths([
"dist/index.js",
bundledDistPluginFile("discord", "node_modules/@buape/carbon/index.js"),
bundledDistPluginFile("discord", "node_modules/@discordjs/voice/index.js"),
bundledPluginFile("tlon", "node_modules/.bin/tlon"),
"node_modules/.bin/openclaw",
]),
).toEqual([
bundledDistPluginFile("discord", "node_modules/@buape/carbon/index.js"),
bundledDistPluginFile("discord", "node_modules/@discordjs/voice/index.js"),
bundledPluginFile("tlon", "node_modules/.bin/tlon"),
"node_modules/.bin/openclaw",
]);