randydev commited on
Commit
3c6b98a
·
verified ·
1 Parent(s): e5165b2

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +2 -0
chatbot/plugins/chat.py CHANGED
@@ -889,6 +889,8 @@ async def chatbot_talk(client: Client, message: Message):
889
  return
890
 
891
  if re.findall(r"\b(image)\b", query_base, re.IGNORECASE):
 
 
892
  try:
893
  buttons = [
894
  [
 
889
  return
890
 
891
  if re.findall(r"\b(image)\b", query_base, re.IGNORECASE):
892
+ if query_base == "image":
893
+ return await message.reply_text("You can't write small, it has to be long or short first")
894
  try:
895
  buttons = [
896
  [