Conversation
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
The-Best-Codes
commented
Jan 30, 2026
Collaborator
Author
The-Best-Codes
left a comment
There was a problem hiding this comment.
Ready for review 😄
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a Discord bot service that provides AI-powered assistance for goose documentation queries. The bot uses OpenRouter with Google's Gemini model and integrates with the goose Discord server to answer questions by searching and viewing documentation.
Changes:
- New Discord bot service with AI-powered documentation assistance using search and view tools
- Docker deployment configuration with multi-platform support and GitHub Actions workflow
- TypeScript-based implementation using the discraft framework for Discord bot management
Reviewed changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| services/ask-ai-bot/package.json | Package dependencies including discord.js, AI SDK, and zod (with version issue) |
| services/ask-ai-bot/tsconfig.json | TypeScript configuration for the bot service |
| services/ask-ai-bot/index.ts | Main entry point with Discord client initialization and error handling |
| services/ask-ai-bot/clients/ai.ts | OpenRouter AI client setup with model configuration (invalid model name) |
| services/ask-ai-bot/clients/discord.ts | Discord client configuration with required intents |
| services/ask-ai-bot/commands/ping.ts | Basic ping command for health checks |
| services/ask-ai-bot/events/ready.ts | Bot ready event handler with presence setup (logging issue) |
| services/ask-ai-bot/events/error.ts | Error event handler for Discord client errors |
| services/ask-ai-bot/events/messageCreate.ts | Message handler for question threads and follow-ups |
| services/ask-ai-bot/utils/logger.ts | Logger utility wrapper around consola |
| services/ask-ai-bot/utils/ai/index.ts | Core AI interaction logic with streaming and tool tracking |
| services/ask-ai-bot/utils/ai/system-prompt.ts | AI system prompt with proper naming conventions |
| services/ask-ai-bot/utils/ai/tool-tracker.ts | Tool usage tracking for status messages |
| services/ask-ai-bot/utils/ai/chunk-markdown.ts | Markdown chunking to respect Discord's message limits |
| services/ask-ai-bot/utils/ai/tools/index.ts | AI tool definitions for searching and viewing docs |
| services/ask-ai-bot/utils/ai/tools/docs-search.ts | Documentation search using MiniSearch |
| services/ask-ai-bot/utils/ai/tools/docs-viewer.ts | Documentation viewer with path traversal protection |
| services/ask-ai-bot/Dockerfile | Multi-stage Docker build for production deployment |
| services/ask-ai-bot/.dockerignore | Docker ignore configuration for efficient builds |
| services/ask-ai-bot/.gitignore | Git ignore patterns for bot service |
| services/ask-ai-bot/.env.example | Environment variable templates (invalid model name) |
| services/ask-ai-bot/bun.lock | Bun lockfile with dependency versions |
| .github/workflows/publish-ask-ai-bot.yml | GitHub Actions workflow for Docker image publishing |
blackgirlbytes
approved these changes
Feb 1, 2026
katzdave
added a commit
that referenced
this pull request
Feb 3, 2026
…ntext * 'main' of github.com:block/goose: refactor(providers): extract ProviderDef trait and OpenAiCompatibleProvider (#6832) feat: ask ai discord bot (#6842) chore(maintenance): make GitHub repo configurable for auto-updater and publisher (#6828) fix: make apps work in built copies of goose (#6901) Remove dependency on goose-mcp from goose crate (#6637) Clean up build canonical warnings (#6880) Sync desktop_prompt with UI (#6898)
stebbins
pushed a commit
to stebbins/goose
that referenced
this pull request
Feb 4, 2026
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com> Signed-off-by: Harrison <hcstebbins@gmail.com>
kuccello
pushed a commit
to kuccello/goose
that referenced
this pull request
Feb 7, 2026
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Tyler-Hardin
pushed a commit
to Tyler-Hardin/goose
that referenced
this pull request
Feb 11, 2026
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
Tyler-Hardin
pushed a commit
to Tyler-Hardin/goose
that referenced
this pull request
Feb 11, 2026
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adding code for Ask AI Discord bot for the goose Discord server.
Type of Change
AI Assistance
Testing
I built and tested the bot... should all be working! 😀