Skip to content

Commit

Permalink
🐛 fix comment empty reject
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Nov 4, 2024
1 parent 394b7cc commit c1aa298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/github/plugins/github_reply/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def parse_arg(
@comment.handle()
async def check_content(state: T_State):
if not state["content"]:
await comment.reject(
await comment.finish(
"评论内容不能为空!请重新发送要评论的内容\n"
"例如:「/comment owner/repo#number LGTM」"
)
Expand Down

0 comments on commit c1aa298

Please sign in to comment.