From 04b9e81ec76940feffb44d18505e8c807f66eb6b Mon Sep 17 00:00:00 2001 From: IAPP-BY Date: Tue, 3 Jun 2025 15:03:18 +0800 Subject: [PATCH] Update smithery.yaml --- smithery.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smithery.yaml b/smithery.yaml index 27389e1..0546e60 100644 --- a/smithery.yaml +++ b/smithery.yaml @@ -9,9 +9,9 @@ startCommand: type: http configSchema: type: object - required: ["DISCORD_TOKEN"] + required: ["discordToken"] properties: - DISCORD_TOKEN: + discordToken: type: string title: "Discord Bot Token" description: "Discord bot token. Obtain this from the Discord Developer Portal." @@ -20,8 +20,8 @@ startCommand: commandFunction: | (config) => ({ command: 'node', - args: ['build/index.js', '--transport', 'http', '--port', '8080', '--config', config.DISCORD_TOKEN], + args: ['build/index.js', '--transport', 'http', '--port', '8080'], env: { - DISCORD_TOKEN: config.DISCORD_TOKEN + DISCORD_TOKEN: config.discordToken } }) \ No newline at end of file