Skip to content

Commit

Permalink
Refine comment formatting in AICodeBot
Browse files Browse the repository at this point in the history
The previous comment format was not as clear and concise as it could be. This change improves the readability of the AICodeBot's review comments by separating the comment into multiple lines and providing a more explicit link to the AICodeBot's GitHub page.
  • Loading branch information
TechNickAI committed Jul 15, 2023
1 parent aea20cc commit 69de1e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aicodebot_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
print(f"Review: {review_comments}")

comment = (
"🤖AICodeBot Review Comments:\n\n" + review_comments + "\n\n[AICodeBot](https://github.com/gorillamania/AICodeBot)"
"🤖 AICodeBot Review Comments:\n\n"
+ review_comments
+ "\n\nCode review automatically created with [AICodeBot](https://github.com/gorillamania/AICodeBot)"
)

# Then add a reaction to the comment
Expand Down

0 comments on commit 69de1e7

Please sign in to comment.