-
Notifications
You must be signed in to change notification settings - Fork 1
fix(bot): fix and upgrade autocomplete #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes and upgrades the autocomplete functionality for the untrack command by enhancing database queries to include joined data and simplifying the untrack process to use tracking IDs instead of platform-specific identifiers.
Key changes:
- Enhanced database queries to return joined data from multiple tables for better autocomplete support
- Simplified untrack command to use a single tracking ID parameter instead of separate platform and user ID parameters
- Added autocomplete functionality to display tracked channels with platform, name, and notification channel information
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
src/db/discord.ts | Enhanced discordGetAllTrackedInGuild to return joined data and modified discordRemoveGuildTrackingChannel to use tracking IDs |
src/commands.ts | Updated untrack command to use autocomplete with tracking IDs and improved error handling for tracking validation |
ok copilot Co-authored-by: Copilot <[email protected]>
No description provided.