Skip to content

fix: improve reaction handling logic in Discord bot - #8

Closed
ajs2583 wants to merge 1 commit into
mainfrom
fix-reactions
Closed

ajs2583 wants to merge 1 commit into
mainfrom
fix-reactions

Conversation

@ajs2583

@ajs2583 ajs2583 commented Mar 23, 2026

Copy link
Copy Markdown
Collaborator

This pull request improves the user feedback experience in the Discord bot by ensuring that feedback reactions are added directly to the assistant's first reply, rather than to the user's original question. This makes it clearer for users where to provide feedback on the assistant's answer.

User feedback enhancements:

  • Modified the message reply logic in discord.py so that thumbs up/down reactions are added to the assistant's first reply message (the answer), instead of the original user message. This includes handling potential exceptions when adding reactions.

@github-actions

Copy link
Copy Markdown

PR Change Log

Changed Files Summary

Overall: 1 file changed, 13 insertions(+), 1 deletion(-)

Files Changed

Status File Lines Added Lines Removed
Modified systems/docgpt/src/app/discord.py +13 -1

Changes by Directory

  • systems/docgpt/src/app/: 1 file(s)
  • ./: 1 file(s)

Warnings

No large file changes detected.


Updated: 2026-03-23T17:52:19.433Z

@ajs2583 ajs2583 closed this Mar 25, 2026
@ajs2583
ajs2583 deleted the fix-reactions branch March 25, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant