From 3ed95e26a8a4f56a3979eecb5751face8c02c342 Mon Sep 17 00:00:00 2001 From: Nefrace Date: Wed, 7 Apr 2021 23:31:47 +0300 Subject: [PATCH] Updated docs trigger --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a4c342d..9e0c9be 100644 --- a/index.js +++ b/index.js @@ -283,8 +283,8 @@ bot.onText(/док(ументац[а-я]+|[а-я])? ((п)?о )?(?@?[\w\d] const message = messages[getRandomInt(0, messages.length)].text bot.sendMessage(msg.chat.id, message, {reply_markup: { inline_keyboard: [[ { - text: `Поиск по ${markdowned(topic)}`, - url: `https://docs.godotengine.org/ru/stable/?rtd_search=${markdowned(topic)}` + text: `Поиск по ${topic}`, + url: `https://docs.godotengine.org/ru/stable/?rtd_search=${topic}` }]]}, reply_to_message_id: msg.message_id })