Update smithery.yaml

This commit is contained in:
IAPP-BY 2025-06-03 14:57:49 +08:00
parent 02389fc9f0
commit eea277913c
1 changed files with 9 additions and 7 deletions

View File

@ -9,8 +9,7 @@ startCommand:
type: http
configSchema:
type: object
required:
- DISCORD_TOKEN
required: ["DISCORD_TOKEN"]
properties:
DISCORD_TOKEN:
type: string
@ -22,4 +21,7 @@ startCommand:
(config) => ({
command: 'node',
args: ['build/index.js', '--transport', 'http', '--port', '8080', '--config', config.DISCORD_TOKEN],
env: {
DISCORD_TOKEN: config.DISCORD_TOKEN
}
})