Skip to content

feat: move config to private repo, /post restriction, /help admin info - #32

Merged
frostebite merged 4 commits into
mainfrom
feat/private-config
May 6, 2026
Merged

frostebite merged 4 commits into
mainfrom
feat/private-config

Conversation

@frostebite

Copy link
Copy Markdown
Member

Summary

  • Private config: Moved config.json (guild IDs, channel IDs, triage user IDs) to private game-ci/help-bot-config repo. Public repo now has config.example.json with placeholder values.
  • Auto-pull: startup.ps1 automatically clones/pulls private config on service start. scripts/pull-config.sh for CI/Linux.
  • /post restriction: /post command now only works in the channel configured by social.post_channel_id in config.
  • /help admin info: /help now shows inline channel list and settings for admins (no need to go to triage channel for !channels / !settings).

Migration

After merging, run scripts/pull-config.sh or restart the service to pull config from the private repo.

🤖 Generated with Claude Code

…dmin info

- Move config.json to private game-ci/help-bot-config repo
- Add config.example.json with sanitized placeholder values
- Add .gitignore entry for config.json and .help-bot-config/
- Add scripts/pull-config.sh for CI and startup.ps1 auto-pull
- /post slash command restricted to configured post_channel_id
- /help now shows inline channel list and settings for admins

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented May 6, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@frostebite has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 52 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4fb403e7-b595-46f4-91af-53a6ea38cb46

📥 Commits

Reviewing files that changed from the base of the PR and between 801d8e1 and f907ef0.

📒 Files selected for processing (6)
  • .gitignore
  • config.example.json
  • config.json
  • scripts/pull-config.sh
  • src/core/live.ts
  • startup.ps1
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/private-config

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

frostebite and others added 3 commits May 6, 2026 21:53
Status now displays: `443768b | up 2h15m | deployed 1d3h | 12ch`
- Short git SHA of deployed commit
- Online age (resets on restart)
- Deploy age (based on commit timestamp)
- Monitored channel count

Status refreshes every 5 minutes to keep ages current.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@frostebite
frostebite merged commit d12f284 into main May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant