提交 dddef436 编写于 作者: sinat_25235033's avatar sinat_25235033

modify bot comment markdown body

上级 357158d8
此差异由.gitattributes 抑制。
此差异由.gitattributes 抑制。
......@@ -55,7 +55,6 @@ async function run(): Promise<void> {
}
// create comment by bot
core.info(issue_translate_comment_body)
if (octokit === null) {
octokit = github.getOctokit(myToken)
}
......@@ -83,9 +82,10 @@ async function translateCommentBody(body: string): Promise<string> {
.then(res => {
result =
`
> Bot detected the comment body's language is not English, translate it automatically. For the convenience of others, please use English next time^^.
----
${res.text}
> Bot detected the comment body's language is not English, translate it automatically. For the convenience of others, please use English next time👯.
----
${res.text}
`
})
.catch(err => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册