From 0460890c4014fcdc16a4dc5de4a4ca805973dc1c Mon Sep 17 00:00:00 2001 From: IAPP-BY Date: Tue, 3 Jun 2025 14:23:36 +0800 Subject: [PATCH] Update smithery.yaml --- smithery.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/smithery.yaml b/smithery.yaml index 9d90264..7ff3cd5 100644 --- a/smithery.yaml +++ b/smithery.yaml @@ -18,3 +18,11 @@ startCommand: description: "Discord bot token. Obtain this from the Discord Developer Portal." exampleConfig: DISCORD_TOKEN: YOUR_DISCORD_BOT_TOKEN + commandFunction: | + (config) => ({ + command: 'node', + args: ['build/index.js', '--transport', 'http', '--port', '8080'], + env: { + DISCORD_TOKEN: config.DISCORD_TOKEN + } + }) \ No newline at end of file