{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5e3f189a-c126-4907-ae90-0b6ee0aad1f1",
    "slug": "discord-nestjs-bot",
    "name": "Discord Necord Bot",
    "description": "A solid Discord bot foundation built with NestJS that scales to any size",
    "url": "https://railway.com/deploy/discord-nestjs-bot",
    "upstream": {
      "repo_url": "https://github.com/maxijonson/discord-nestjs-bot-template"
    }
  },
  "services": [
    {
      "name": "Discord Bot",
      "source": {
        "repo": "https://github.com/maxijonson/discord-nestjs-bot-template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "NEST_ENV",
      "service": "Discord Bot",
      "description": "One of \"production\", \"staging\" or \"development\". \"development\" should only be used on your own machine, not here. \"staging\" can be used if you deploy this as a test environment. Leave as \"production\" otherwise.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "DISCORD_BOT_TOKEN",
      "service": "Discord Bot",
      "description": "Your bot token can be obtained from the \"Bot\" tab of your Discord Application: https://discord.com/developers/applications",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "discord-nestjs-bot"
      }
    },
    "cli": "railway deploy --template discord-nestjs-bot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5e3f189a-c126-4907-ae90-0b6ee0aad1f1",
            "serializedConfig": {
              "services": {
                "5452e1fe-6d11-467a-95a3-edacb8cf64f1": {
                  "icon": "https://devicons.railway.com/i/discord.svg",
                  "name": "Discord Bot",
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "repo": "maxijonson/discord-nestjs-bot-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "NEST_ENV": {
                      "isOptional": true,
                      "description": "One of \"production\", \"staging\" or \"development\". \"development\" should only be used on your own machine, not here. \"staging\" can be used if you deploy this as a test environment. Leave as \"production\" otherwise.",
                      "defaultValue": "production"
                    },
                    "DISCORD_BOT_TOKEN": {
                      "isOptional": false,
                      "description": "Your bot token can be obtained from the \"Bot\" tab of your Discord Application: https://discord.com/developers/applications",
                      "defaultValue": "{{DISCORD_BOT_TOKEN}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T03:01:58.225Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2721ee63e37d48a79738",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 127,
    "typical_build_seconds": 62,
    "typical_start_seconds": 5,
    "slowest_service": "Discord Bot"
  }
}
