{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7ee7f63e-b9d5-4e46-ba15-5735f1454dfb",
    "slug": "discordjs-bot",
    "name": "Discord.js Bot",
    "description": "Current discord.js slash-command starter with lockfile and DISCORD_TOKEN.",
    "url": "https://railway.com/deploy/discordjs-bot",
    "upstream": {
      "repo_url": "https://github.com/leoisadev1/railway-template-discord-js-bot"
    }
  },
  "services": [
    {
      "name": "bot",
      "source": {
        "repo": "https://github.com/leoisadev1/railway-template-discord-js-bot"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DISCORD_TOKEN",
      "service": "bot",
      "description": "Provide a value for DISCORD_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "discordjs-bot"
      }
    },
    "cli": "railway deploy --template discordjs-bot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7ee7f63e-b9d5-4e46-ba15-5735f1454dfb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "87dcf50d-c367-4f09-9717-376f924685ec": {
                  "icon": null,
                  "name": "bot",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/leoisadev1/railway-template-discord-js-bot",
                    "rootDirectory": null
                  },
                  "variables": {
                    "DISCORD_TOKEN": {
                      "isOptional": false,
                      "defaultValue": "{{DISCORD_TOKEN}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-07T23:54:17.958Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-07T23:56:56.829Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5e41534e5a754063a64b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 27,
    "typical_build_seconds": 10,
    "typical_start_seconds": 0,
    "slowest_service": "bot"
  }
}
