diff --git a/plugins/cook/utils/index.js b/plugins/cook/utils/index.js index aca8812..f278a37 100644 --- a/plugins/cook/utils/index.js +++ b/plugins/cook/utils/index.js @@ -4,13 +4,13 @@ const { Message } = pkg export function genRecipeMessage(recipeList, header, footer) { const msg = new Message() if (header) { - msg.addText(`${header}\n`); + msg.addText(`${header}\n\n`); } recipeList.forEach((recipe, index)=> { - msg.addText(`${index}. ${recipe.name}\n`) + msg.addText(`${index + 1}. ${recipe.name}\n`) msg.addText(`\t· 材料:${recipe.stuff}\n`) msg.addText(`\t· 厨具:${recipe.tools}\n`) - msg.addText(`\t· 制作视频:https://www.bilibili.com/video/${recipe.bv}\n`) + msg.addText(`\t· 制作视频:https://www.bilibili.com/video/${recipe.bv}\n\n`) }) if (footer) {