feat: complete saved farm names in chat #101

Merged
gecko merged 1 commit from t3/farm-name-autocomplete into main 2026-11-03 16:14:33 +00:00
Owner

Summary

  • Add Brigadier suggestions to the saved-farm name argument so .bot farm <name> (and .farm <name>) lists saved farm names in the chat completion menu.
  • Reuse the same completion for info, deposit, restock, clear-deposit, clear-restock and remove; save still accepts a new name.
  • Suggestions are prefix-filtered and best-effort: a broken profile store leaves the menu empty instead of breaking chat, while the command still reports the real error.
  • Document the completion behavior in the README.

Validation

Local validation passed on commit e4d89c6:

  • ./scripts/ci-preflight.sh
  • ./gradlew --no-daemon --max-workers=1 '-Dorg.gradle.jvmargs=-Xms128m -Xmx1g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8' lint build
  • ./scripts/check-release-jar.sh

Forgejo CI: build run 872 — success on e4d89c6.

## Summary - Add Brigadier suggestions to the saved-farm name argument so `.bot farm <name>` (and `.farm <name>`) lists saved farm names in the chat completion menu. - Reuse the same completion for `info`, `deposit`, `restock`, `clear-deposit`, `clear-restock` and `remove`; `save` still accepts a new name. - Suggestions are prefix-filtered and best-effort: a broken profile store leaves the menu empty instead of breaking chat, while the command still reports the real error. - Document the completion behavior in the README. ## Validation Local validation passed on commit `e4d89c6`: - `./scripts/ci-preflight.sh` - `./gradlew --no-daemon --max-workers=1 '-Dorg.gradle.jvmargs=-Xms128m -Xmx1g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8' lint build` - `./scripts/check-release-jar.sh` Forgejo CI: [build run 872](https://git.glitched.systems/gecko/mcbot/actions/runs/872) — success on `e4d89c6`.
feat: complete saved farm names in chat
All checks were successful
build / Java 25 build (pull_request) Successful in 3m28s
e4d89c6a24
gecko merged commit 80fe65ab1b into main 2026-11-03 16:14:33 +00:00
gecko deleted branch t3/farm-name-autocomplete 2026-11-03 16:14:33 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gecko/mcbot!101
No description provided.