{"id":50956238,"url":"https://github.com/fleetyards/yards-bot","last_synced_at":"2026-06-18T07:02:14.248Z","repository":{"id":360464509,"uuid":"1250229830","full_name":"fleetyards/yards-bot","owner":"fleetyards","description":"Discord bot for the Fleetyards community server","archived":false,"fork":false,"pushed_at":"2026-05-26T13:22:01.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T15:26:09.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fleetyards.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-26T12:33:06.000Z","updated_at":"2026-05-26T13:27:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fleetyards/yards-bot","commit_stats":null,"previous_names":["fleetyards/yards-bot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fleetyards/yards-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleetyards%2Fyards-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleetyards%2Fyards-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleetyards%2Fyards-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleetyards%2Fyards-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fleetyards","download_url":"https://codeload.github.com/fleetyards/yards-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fleetyards%2Fyards-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34479555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-18T07:02:13.294Z","updated_at":"2026-06-18T07:02:14.244Z","avatar_url":"https://github.com/fleetyards.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yards-bot\n\nDiscord bot for the [Fleetyards](https://fleetyards.net) community server.\n\n## Scope\n\n**Single-tenant.** This bot is built for the Fleetyards Discord only. The Discord application has `bot_public: false`, so it cannot be added to other servers, and the config hardcodes Fleetyards-specific guild/channel/message/role IDs anyway.\n\nAnything we want to make available to other Star Citizen servers (slash-command ship lookups, hangar lookups, release announcements via webhook, etc.) belongs in a separate, public, multi-tenant bot — not yet started. yards-bot's scope is verification, role management, and other Fleetyards-only mod/admin work.\n\n## Status\n\nv0.1 — scaffold only. See [`docs/exec-plans/v1.md`](docs/exec-plans/v1.md) for the v1 design and feature scope.\n\n## Stack\n\n- Node 22 LTS, TypeScript (strict)\n- [discord.js](https://discord.js.org) v14\n- pnpm, Biome, vitest, pino, zod\n\n## Local development\n\n```sh\npnpm install\ncp .env.example .env                       # fill in DISCORD_TOKEN\ncp config/verifications.example.yaml config/verifications.yaml\npnpm dev\n```\n\n## Scripts\n\n| Command          | What it does                            |\n| ---------------- | --------------------------------------- |\n| `pnpm dev`       | Watch mode with `tsx`                   |\n| `pnpm build`     | Compile to `dist/`                      |\n| `pnpm start`     | Run compiled output                     |\n| `pnpm lint`      | Biome check                             |\n| `pnpm typecheck` | `tsc --noEmit`                          |\n| `pnpm test`      | vitest                                  |\n\n## Required bot permissions\n\nThe bot needs `View Channel`, `Read Message History`, and `Manage Roles` on the target guild. Its top role must sit **above** any role it grants — Discord silently rejects role changes otherwise.\n\nNo privileged intents are required. v1 uses `Guilds` + `GuildMessageReactions` and fetches members on demand via REST, so the `Server Members Intent` does not need to be enabled.\n\n## Deployment\n\nSingle instance. Do not scale this service horizontally — duplicate gateway connections will produce duplicate role grants. Deploy details land alongside the v1 implementation.\n\n## License\n\nGPL-3.0-or-later — see [`LICENSE`](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleetyards%2Fyards-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffleetyards%2Fyards-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffleetyards%2Fyards-bot/lists"}