randydev commited on
Commit
b149893
·
verified ·
1 Parent(s): 63e8267

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +4 -4
chatbot/plugins/chat.py CHANGED
@@ -67,8 +67,8 @@ DISABLED_COMMANDS = [
67
  "about:",
68
  "enabled:",
69
  "disabled:",
70
- "--stream-image",
71
- "--edit-image"
72
  ]
73
 
74
  def obfuscate(word):
@@ -940,9 +940,9 @@ async def chatbot_talk(client: Client, message: Message):
940
  if regex_all_blacklist(caption):
941
  return await message.reply_text("You been blocked blacklisted")
942
 
943
- if caption == "--stream-image" or caption == "--edit-image" or len(caption) > 350:
944
  return await message.reply_text(
945
- "You can't type, it has to be long or short"
946
  )
947
 
948
  stream_image_now = re.sub(r"--stream-image", "", caption).strip()
 
67
  "about:",
68
  "enabled:",
69
  "disabled:",
70
+ "--stream-images",
71
+ "--edit-images"
72
  ]
73
 
74
  def obfuscate(word):
 
940
  if regex_all_blacklist(caption):
941
  return await message.reply_text("You been blocked blacklisted")
942
 
943
+ if caption in ["--stream-images", "--edit-images"] or len(caption) > 350:
944
  return await message.reply_text(
945
+ "You can't type (error 404: creativity not found)"
946
  )
947
 
948
  stream_image_now = re.sub(r"--stream-image", "", caption).strip()