Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 committed Jan 18, 2025
1 parent b2d0174 commit 7151772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discussion-bot/response_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def process_discussion(self, actor, title, body):

if len(responses) > 0: # At least one trigger pattern matched
response = self.intro + "\n"
response = response.replace("{actor}", "{" + actor + "}")
response = response.replace("{actor}", actor)

for finding in responses:
response += f" - **{finding[0]}:** {finding[1]}\n"
Expand Down

0 comments on commit 7151772

Please sign in to comment.