diff --git a/discussion-bot/response_generator.py b/discussion-bot/response_generator.py index b114f35a1..4b38a87ea 100644 --- a/discussion-bot/response_generator.py +++ b/discussion-bot/response_generator.py @@ -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"