Ok done
Browse files- chatbot/plugins/chat.py +2 -2
chatbot/plugins/chat.py
CHANGED
@@ -677,7 +677,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
677 |
if re.findall(r"\b(This is a picture of me)\b", caption, re.IGNORECASE):
|
678 |
if caption == "picture" or len(caption) > 300:
|
679 |
return await message.reply_text(
|
680 |
-
"You can't write **picture** small, it has to be long OR short first"
|
681 |
"OR Caption Too many `MAX_CAPTION: 300`"
|
682 |
)
|
683 |
try:
|
@@ -916,7 +916,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
916 |
if re.findall(r"\b(image)\b", query_base, re.IGNORECASE):
|
917 |
if query_base == "image" or len(query_base) > 350:
|
918 |
return await message.reply_text(
|
919 |
-
"You can't write **image** small, it has to be long OR short first"
|
920 |
"OR Text Too many `MAX_TOO_MANY_TEXT: 350`"
|
921 |
)
|
922 |
try:
|
|
|
677 |
if re.findall(r"\b(This is a picture of me)\b", caption, re.IGNORECASE):
|
678 |
if caption == "picture" or len(caption) > 300:
|
679 |
return await message.reply_text(
|
680 |
+
"You can't write **picture** small, it has to be long OR short first\n"
|
681 |
"OR Caption Too many `MAX_CAPTION: 300`"
|
682 |
)
|
683 |
try:
|
|
|
916 |
if re.findall(r"\b(image)\b", query_base, re.IGNORECASE):
|
917 |
if query_base == "image" or len(query_base) > 350:
|
918 |
return await message.reply_text(
|
919 |
+
"You can't write **image** small, it has to be long OR short first\n"
|
920 |
"OR Text Too many `MAX_TOO_MANY_TEXT: 350`"
|
921 |
)
|
922 |
try:
|