Skip to content
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

Continue/feature/reference gh #981

Merged

Conversation

ankitsmt211
Copy link
Member

@ankitsmt211 ankitsmt211 commented Dec 10, 2023

For earlier context related to PR #966

continuing #599

Note: This merge will require Config to be changed on vps as well, otherwise bot crashes.

brief:

  • adds /github-search, which auto suggests a list of issues and PR to choose. It also accepts a title if you want to manually enter and select.
  • if a new message is of type #IssueNumberHere, it will reply back with an embed containing information about issue.
  • This is currently set to channel #general using config, can be tweaked to a particular channel.
  • More repositoriy Id's can be added to config to allow searching across multiple repositories.

Changes:

  • resolve merge conflicts
  • Java doc fixes
  • add avatar of user to embed
  • add date of creation to footer of embed
  • refactor embed builder for response

Embed on search/issue reference:

image

Tais993 and others added 30 commits September 30, 2022 23:48
In BotCore:
Added onCommandAutoCompleteInteraction listener, this way autocompletion events will actually get forwarded.

Funny, didnt think of this during the previous PR, was probably too hasty.
Taz03
Taz03 previously approved these changes Jan 14, 2024
@SquidXTV SquidXTV self-requested a review January 14, 2024 19:15
SquidXTV
SquidXTV previously approved these changes Jan 18, 2024
Taz03
Taz03 previously approved these changes Jan 18, 2024
@ankitsmt211 ankitsmt211 dismissed stale reviews from Taz03 and SquidXTV January 20, 2024 08:02

need a couple more changes

@marko-radosavljevic
Copy link
Contributor

Haha, you didn't need to dismiss 2 passing reviews just to add repos to the template, it's just a template anyway. ^^

No worries tho, I will count them as passing. ❤️

@ankitsmt211
Copy link
Member Author

Haha, you didn't need to dismiss 2 passing reviews just to add repos to the template, it's just a template anyway. ^^

No worries tho, I will count them as passing. ❤️

apologies if that comes off as rude, but i didnt want someone to merge it(it was one click away ) by any chance since the results were inconsistent with when parallel stream was swapped with sequential, also the config changes ofc. It's better to fix issues when it's already active then making a new PR😉.

* for github search, instead of finding by issue we also wanna match title for correct match
* method overloading for defaulting to tj-bot repo for reference feature
@ankitsmt211 ankitsmt211 requested review from SquidXTV and Taz03 January 21, 2024 21:23
@Zabuzard
Copy link
Member

im ready to merge it, but theres still one open conversation @ankitsmt211

@ankitsmt211
Copy link
Member Author

im ready to merge it, but theres still one open conversation @ankitsmt211

Go ahead, marked it resolved.

@Zabuzard Zabuzard merged commit c63add7 into Together-Java:develop Jan 23, 2024
9 checks passed
@ankitsmt211 ankitsmt211 deleted the continue/feature/reference-gh branch January 23, 2024 10:25
@ankitsmt211 ankitsmt211 mentioned this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new command Add a new command or group of commands to the bot priority: normal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants