mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2024-09-20 06:55:55 +08:00
disable buy
This commit is contained in:
parent
76172fb0b7
commit
aab8abd74c
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue