Skip to content

Commit

Permalink
fixed help crush
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehs committed Jul 19, 2024
1 parent 8ecb63e commit 805a1f6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions components/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ const subscribeIdList = Object.entries(require("../list").subscribeIdList)
.join("");
bot.help(async (ctx) => {
let { first_name } = await telegram.getMe();
ctx.replyWithMarkdownV2(
`*${first_name}的指令清單*
ctx.replyWithHTML(
`<b>${first_name}的指令清單</b>
/about - 關於
/date - 傳回伺服器的時間
/dayoff - 台灣行政院人事局的停班課
/ping - PONG
/removekbd - 移除鍵盤
/start - 開始
*訂閱功能*
/subscribe <訂閱編號> <可選參數> - 訂閱
/unsubscribe <訂閱編號> <可選參數> - 取消訂閱
<b>訂閱功能</b>
/subscribe <u>訂閱編號</u> <u>可選參數</u> - 訂閱
/unsubscribe <u>訂閱編號</u> <u>可選參數</u> - 取消訂閱
*訂閱編號*
<b>訂閱編號</b>
${subscribeIdList}
*測試*
<b>測試</b>
/admin - 檢查是否具此聊天室的管理權限
`,
{ reply_to_message_id: ctx.message.message_id }
Expand Down

0 comments on commit 805a1f6

Please sign in to comment.