{
  "manifest_version": "1.0.0",
  "template": {
    "id": "792d8ee2-9c53-421b-b790-50276c0e8b89",
    "slug": "discordjs-typescript",
    "name": "Discord.js Typescript",
    "description": "Discord.js Typescript starter template. Create a fork to modify.",
    "url": "https://railway.com/deploy/discordjs-typescript",
    "upstream": {
      "repo_url": "https://github.com/thesamgordon/railway-discord.js-typescript"
    }
  },
  "services": [
    {
      "name": "Discord.js Template",
      "source": {
        "repo": "https://github.com/thesamgordon/railway-discord.js-typescript"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TOKEN",
      "service": "Discord.js Template",
      "description": "Your Discord bot's token. Create a bot at https://discord.com/developers/applications.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "discordjs-typescript"
      }
    },
    "cli": "railway deploy --template discordjs-typescript",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "792d8ee2-9c53-421b-b790-50276c0e8b89",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2e4b4d06-715a-4f31-93ea-6f4d55ce2aa8": {
                  "icon": "https://icon.icepanel.io/Technology/svg/Discord.js.svg",
                  "name": "Discord.js Template",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "thesamgordon/railway-discord.js-typescript",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "TOKEN": {
                      "isOptional": false,
                      "description": "Your Discord bot's token. Create a bot at https://discord.com/developers/applications.",
                      "defaultValue": "{{TOKEN}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-09T19:29:02.553Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_37e169d4399f4225814f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
