From ee65c371bb2d5f720de3a258a46ddf8101744e15 Mon Sep 17 00:00:00 2001 From: Benny Date: Thu, 21 Dec 2023 08:05:29 +0100 Subject: [PATCH] disable 4g --- ytdlbot/ytdl_bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ytdlbot/ytdl_bot.py b/ytdlbot/ytdl_bot.py index 8cf2fce9..0ebaf5b3 100644 --- a/ytdlbot/ytdl_bot.py +++ b/ytdlbot/ytdl_bot.py @@ -8,7 +8,6 @@ __author__ = "Benny " import contextlib -import json import logging import os import random @@ -321,9 +320,10 @@ def tronpayment_btn_calback(client: Client, callback_query: types.CallbackQuery) def premium_click(client: Client, callback_query: types.CallbackQuery): data = callback_query.data if data == "premium-yes": - replied = callback_query.message.reply_to_message - data = {"url": replied.text, "user_id": callback_query.message.chat.id} - client.send_message(PREMIUM_USER, json.dumps(data), disable_notification=True, disable_web_page_preview=True) + callback_query.answer("developing....please wait for next release") + # replied = callback_query.message.reply_to_message + # data = {"url": replied.text, "user_id": callback_query.message.chat.id} + # client.send_message(PREMIUM_USER, json.dumps(data), disable_notification=True, disable_web_page_preview=True) else: callback_query.answer("Cancelled.")