randydev commited on
Commit
456f821
·
verified ·
1 Parent(s): b149893

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. 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-image", "", caption).strip()
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-image", "", caption).strip()
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)