From ce141209e3c22cd08d5a06e89d0a89e1863c1958 Mon Sep 17 00:00:00 2001 From: plahui Date: Sun, 23 Feb 2025 14:02:08 +0100 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 919358d..d661e83 100644 --- a/main.py +++ b/main.py @@ -24,6 +24,9 @@ def start(message): os.system ("calc") else: bot.send_message(message.from_caht.id, "нет иди нафиг") +@bot.message_handler(commands=["site"]) +def site(message): + bot.webbrowser.open("https://market.yandex.ru/search?utm_source=yandex&utm_medium=search&utm_campaign=ymp_dp_cehac_search_adv_top_dyb_search_rus&utm_content=cid%3A113572415%7Cgid%3A5480968089%7Caid%3A16413593872%7Cph%3A53089491842%7Cpt%3Apremium%7Cpn%3A1%7Csrc%3Anone%7Cst%3Asearch%7Crid%3A53089491842%7Ccgcid%3A0&clid=1601&yclid=6256005146982744063&text=picun%20f6%20%D0%BD%D0%B0%D1%83%D1%88%D0%BD%D0%B8%D0%BA%D0%B8") bot.infinity_polling()