mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
url reader for chatgpt
This commit is contained in:
parent
a0e65d8bd9
commit
19bb441533
@ -51,6 +51,7 @@ def chatgpt_handler(message: Message, bot: TeleBot) -> None:
|
||||
if m[:4].lower() == "new ":
|
||||
m = m[4:].strip()
|
||||
player_message.clear()
|
||||
m = enrich_text_with_urls(m)
|
||||
|
||||
who = "ChatGPT"
|
||||
# show something, make it more responsible
|
||||
@ -112,6 +113,7 @@ def chatgpt_pro_handler(message: Message, bot: TeleBot) -> None:
|
||||
if m[:4].lower() == "new ":
|
||||
m = m[4:].strip()
|
||||
player_message.clear()
|
||||
m = enrich_text_with_urls(m)
|
||||
|
||||
who = "ChatGPT Pro"
|
||||
reply_id = bot_reply_first(message, who, bot)
|
||||
|
Loading…
x
Reference in New Issue
Block a user