Skip to content

Commit

Permalink
Change bot response to feedback in the thread and make is visible to …
Browse files Browse the repository at this point in the history
…all (#95)

This PR change bot response to feedback in the thread 

<img width="391" alt="Screenshot 2023-11-08 at 4 09 25 PM"
src="https://github.com/astronomer/ask-astro/assets/98807258/31e7702c-a6bb-4520-b7b6-e2ae659c3832">

closes: #88
  • Loading branch information
pankajastro authored Nov 8, 2023
1 parent 1d3d45d commit f092906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/ask_astro/slack/controllers/feedback/bad.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def _send_response(details: dict[str, str], respond: AsyncRespond) -> None
f"😥 Thank you for your feedback, <@{details['user']}>!",
thread_ts=details["thread_ts"],
replace_original=False,
response_type="ephemeral",
response_type="in_channel",
)


Expand Down
2 changes: 1 addition & 1 deletion api/ask_astro/slack/controllers/feedback/good.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def _send_response(details: dict[str, str], respond: AsyncRespond) -> None
f"☺️ Thank you for your feedback, <@{details['user']}>!",
thread_ts=details["thread_ts"],
replace_original=False,
response_type="ephemeral",
response_type="in_channel",
)


Expand Down

0 comments on commit f092906

Please sign in to comment.