From aab8abd74c056305da1eab33ef97f21d8bf4f98c Mon Sep 17 00:00:00 2001 From: Benny Date: Sun, 7 Apr 2024 20:14:34 +0200 Subject: [PATCH] disable buy --- ytdlbot/ytdl_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ytdlbot/ytdl_bot.py b/ytdlbot/ytdl_bot.py index 36625cd..6713ec2 100644 --- a/ytdlbot/ytdl_bot.py +++ b/ytdlbot/ytdl_bot.py @@ -307,6 +307,8 @@ def buy_handler(client: Client, message: types.Message): # process as chat.id, not from_user.id chat_id = message.chat.id client.send_chat_action(chat_id, enums.ChatAction.TYPING) + message.reply_text("Not available now.") + return # currency USD token_count = message.text.replace("/buy", "").strip() if token_count.isdigit():