{"id":51205381,"url":"https://github.com/garulf/sc-discord-bot","last_synced_at":"2026-06-28T03:00:46.929Z","repository":{"id":365625170,"uuid":"1272114509","full_name":"Garulf/sc-discord-bot","owner":"Garulf","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-28T01:37:12.000Z","size":499,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-28T03:00:43.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Garulf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-06-17T09:53:58.000Z","updated_at":"2026-06-28T01:37:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a3737ba-23d8-4f79-9b14-2469da87f417","html_url":"https://github.com/Garulf/sc-discord-bot","commit_stats":null,"previous_names":["garulf/sc-discord-bot"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Garulf/sc-discord-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Garulf%2Fsc-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Garulf%2Fsc-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Garulf%2Fsc-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Garulf%2Fsc-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Garulf","download_url":"https://codeload.github.com/Garulf/sc-discord-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Garulf%2Fsc-discord-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34875362,"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-28T02:00:05.809Z","response_time":54,"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-28T03:00:35.901Z","updated_at":"2026-06-28T03:00:46.920Z","avatar_url":"https://github.com/Garulf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SC Discord Bot\n\nA Star Citizen Discord bot that provides ship info, item lookups, commodity trading routes, and live RSI server status — all via slash commands.\n\n## Commands\n\n### Inventory\n| Command | Description |\n|---|---|\n| `/inventory add \u003citem\u003e` | Add a DCHS item to your inventory (DCHS-01 through DCHS-07) |\n| `/inventory remove \u003citem\u003e` | Remove a DCHS item from your inventory |\n| `/inventory clear` | Clear all items from your inventory |\n| `/inventory status` | Show all members' DCHS items and complete sets |\n\n### Items \u0026 Equipment\n| Command | Description |\n|---|---|\n| `/find all \u003cname\u003e` | Search across all item types at once |\n| `/find weapon \u003cname\u003e` | Search FPS weapons |\n| `/find shipweapon \u003cname\u003e` | Search ship-mounted weapons |\n| `/find armor \u003cname\u003e` | Search armor |\n| `/find clothes \u003cname\u003e` | Search clothing |\n| `/find vehicleitem \u003cname\u003e` | Search vehicle/ship components (cooler, shield, power plant, etc.) |\n| `/find weaponattachment \u003cname\u003e` | Search FPS weapon attachments |\n| `/find item \u003cname\u003e` | Search miscellaneous items |\n\n### Ships\n| Command | Description |\n|---|---|\n| `/ship \u003cname\u003e` | Ship stats (crew, cargo, speed, hull, signals) and cheapest aUEC buy price |\n| `/shipprice \u003cname\u003e` | All in-game buy and rental locations for a ship |\n\n### Trading\n| Command | Description |\n|---|---|\n| `/commodity buy \u003cname\u003e` | Best terminals to buy a commodity |\n| `/commodity sell \u003cname\u003e` | Best terminals to sell a commodity |\n| `/commodity route` | Top profitable buy→sell routes with optional filters |\n\n### Executive Hangar\n| Command | Description |\n|---|---|\n| `/hangar set` | Set the current hangar phase (charging / open / resetting) |\n| `/hangar status` | Show current hangar status |\n| `/hangar subscribe` | Post a live auto-updating hangar status in this channel |\n| `/hangar unsubscribe` | Remove the live status from this channel |\n\n### RSI Server Status\n| Command | Description |\n|---|---|\n| `/status show` | Show current RSI server status |\n| `/status subscribe` | Post RSI status alerts in this channel |\n| `/status unsubscribe` | Stop RSI status alerts in this channel |\n\n## Setup\n\n### Prerequisites\n- Docker and Docker Compose\n- A Discord bot token\n- A UEX bearer token (for trading/price commands)\n\n### Configuration\n\nCopy `.env.example` to `.env` and fill in the values:\n\n```env\nDISCORD_TOKEN=your_discord_bot_token\nUEX_BEARER_TOKEN=your_uex_token\n```\n\n### Running\n\n```bash\n# Start the bot\ndocker compose up -d\n\n# Start with live reload on file changes (development)\n./run.ps1\n```\n\n### Discord Bot Permissions\n\nThe bot requires the following when creating its application:\n- `applications.commands` scope (slash commands)\n- No privileged intents required\n\n## Data Sources\n\n- **[star-citizen.wiki](https://star-citizen.wiki)** — ship stats, weapons, armor, clothing, and other item data\n- **[UEX](https://uexcorp.space)** — in-game aUEC prices for commodities, ships, and equipment\n\n## Development\n\nBot state (hangar schedule, subscriptions, API cache) is stored in a SQLite database at `/app/data/bot.db`, persisted via the `bot-data` Docker volume.\n\n## Releases\n\nReleases are managed automatically by [release-please](https://github.com/googleapis/release-please). On every merge to `main`, the action opens (or updates) a release PR that bumps the version in `pyproject.toml` and updates `CHANGELOG.md`. Merging that PR creates the git tag and GitHub Release.\n\n## Contributing\n\nCommit messages must follow the [Conventional Commits](https://www.conventionalcommits.org/) format so release-please can determine the next version:\n\n| Prefix | Effect |\n|---|---|\n| `fix:` | patch bump (`0.1.0` → `0.1.1`) |\n| `feat:` | minor bump (`0.1.0` → `0.2.0`) |\n| `feat!:` or `BREAKING CHANGE:` footer | major bump (`0.1.0` → `1.0.0`) |\n| `chore:`, `docs:`, `refactor:`, `test:`, `ci:` | no version bump |\n\nTo enable local commit-message validation after cloning, run:\n\n```bash\npre-commit install --hook-type commit-msg\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarulf%2Fsc-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarulf%2Fsc-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarulf%2Fsc-discord-bot/lists"}