{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4e8811da-cc09-4561-ba88-414074b14f97",
    "slug": "discordjs",
    "name": "Discord.js",
    "description": "Discord.js starter template. Create a fork to modify.",
    "url": "https://railway.com/deploy/discordjs",
    "upstream": {
      "repo_url": "https://github.com/thesamgordon/railway-discord.js"
    }
  },
  "services": [
    {
      "name": "Discord.js Template",
      "source": {
        "repo": "https://github.com/thesamgordon/railway-discord.js"
      },
      "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"
      }
    },
    "cli": "railway deploy --template discordjs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4e8811da-cc09-4561-ba88-414074b14f97",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d968d307-354b-46cf-8409-9d86c9bff101": {
                  "icon": "https://icon.icepanel.io/Technology/svg/Discord.js.svg",
                  "name": "Discord.js Template",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/thesamgordon/railway-discord.js",
                    "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:31.262Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_e46d82e2ee9e4640a542",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
