diff --git a/components/stepstep.js b/components/stepstep.js index 218086e..2c6f1cc 100644 --- a/components/stepstep.js +++ b/components/stepstep.js @@ -25,18 +25,18 @@ bot.command("stepstep", async ({ reply, message }) => { ).then((res) => res.json()); rank = rank.slice(0, 5); - let responseText = `πŸͺ ι€…ι€…θΈθΈζŽ’θ‘Œζ¦œ πŸͺ\n`; + let responseText = `**πŸͺ ι€…ι€…θΈθΈζŽ’θ‘Œζ¦œ πŸͺ**\n`; responseText += `${dateStr}\n\n`; rank.forEach((item, index) => { let distance = item.distance.toFixed(2); let steps = item.steps.toLocaleString(); - responseText += `${index + 1}. ${item.user.name}\n`; - responseText += ` ${distance} ε…¬ι‡Œ - ${steps} ζ­₯\n`; + responseText += `\`${index + 1}. \`${item.user.name}\n`; + responseText += `\` ${distance} ε…¬ι‡Œ - ${steps} ζ­₯\`\n`; }); reply(responseText, { reply_to_message_id: message.message_id, - parse_mode: "html", + parse_mode: "markdown", }); });