Skip to content

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

Merged
merged 6 commits into from
Jul 21, 2025
Merged

fix(bot): fix and upgrade autocomplete #148

merged 6 commits into from
Jul 21, 2025

Conversation

GalvinPython
Copy link
Owner

No description provided.

@GalvinPython GalvinPython added this to the 2.0.0 milestone Jul 20, 2025
@GalvinPython GalvinPython self-assigned this Jul 20, 2025
@GalvinPython GalvinPython added bug Something isn't working component: bot labels Jul 20, 2025
@GalvinPython GalvinPython moved this to In progress in Feedr Jul 20, 2025
@GalvinPython GalvinPython linked an issue Jul 20, 2025 that may be closed by this pull request
@GalvinPython GalvinPython marked this pull request as ready for review July 21, 2025 12:46
@Copilot Copilot AI review requested due to automatic review settings July 21, 2025 12:46
Copy link

@Copilot Copilot AI left a 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

GalvinPython and others added 2 commits July 21, 2025 13:59
@GalvinPython GalvinPython merged commit 59be0bb into dev Jul 21, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Feedr Jul 21, 2025
@GalvinPython GalvinPython deleted the fix/untrack branch July 21, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: bot
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Improve /untrack command
1 participant