{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dbf49f1c-0a57-4e71-b9eb-7ab47c7c081a",
    "slug": "discord-bot-template",
    "name": "discord-bot-template",
    "description": "Type-safe Discord bot template with Bun + discord.js",
    "url": "https://railway.com/deploy/discord-bot-template",
    "upstream": {
      "repo_url": "https://github.com/caru-ini/discord-bot-template"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "discord-bot-template",
      "source": {
        "repo": "https://github.com/caru-ini/discord-bot-template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "LOG_LEVEL",
      "service": "discord-bot-template",
      "description": "Log level (debug, info, warn, error)",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "DISCORD_BOT_TOKEN",
      "service": "discord-bot-template",
      "description": "Provide a value for DISCORD_BOT_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DISCORD_APPLICATION_ID",
      "service": "discord-bot-template",
      "description": "Provide a value for DISCORD_APPLICATION_ID.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "discord-bot-template"
      }
    },
    "cli": "railway deploy --template discord-bot-template",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dbf49f1c-0a57-4e71-b9eb-7ab47c7c081a",
            "serializedConfig": {
              "services": {
                "d8766594-5d80-4f73-9eb5-d283de4d1661": {
                  "name": "discord-bot-template",
                  "deploy": {
                    "restartPolicyMaxRetries": 3
                  },
                  "source": {
                    "repo": "caru-ini/discord-bot-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Log level (debug, info, warn, error)",
                      "defaultValue": "info"
                    },
                    "DISCORD_BOT_TOKEN": {
                      "defaultValue": "{{DISCORD_BOT_TOKEN}}"
                    },
                    "DISCORD_APPLICATION_ID": {
                      "defaultValue": "{{DISCORD_APPLICATION_ID}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T10:14:39.124Z",
  "generator_version": "0.1.0"
}
