Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +2 -2
chatbot/plugins/chat.py
CHANGED
@@ -945,7 +945,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
945 |
"You can't type (error 404: creativity not found)"
|
946 |
)
|
947 |
|
948 |
-
stream_image_now = re.sub(r"--stream-
|
949 |
if stream_image_now:
|
950 |
STREAM_IMAGE_PATH = await message.download()
|
951 |
try:
|
@@ -990,7 +990,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
990 |
except:
|
991 |
pass
|
992 |
|
993 |
-
edit_image_now = re.sub(r"--edit-
|
994 |
if edit_image_now:
|
995 |
try:
|
996 |
backup_chat = await db._get_chatbot_chat_from_db(message.from_user.id)
|
|
|
945 |
"You can't type (error 404: creativity not found)"
|
946 |
)
|
947 |
|
948 |
+
stream_image_now = re.sub(r"--stream-images", "", caption).strip()
|
949 |
if stream_image_now:
|
950 |
STREAM_IMAGE_PATH = await message.download()
|
951 |
try:
|
|
|
990 |
except:
|
991 |
pass
|
992 |
|
993 |
+
edit_image_now = re.sub(r"--edit-images", "", caption).strip()
|
994 |
if edit_image_now:
|
995 |
try:
|
996 |
backup_chat = await db._get_chatbot_chat_from_db(message.from_user.id)
|