Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +19 -0
chatbot/plugins/chat.py
CHANGED
@@ -64,6 +64,21 @@ async def geni_files_delete(name: str):
|
|
64 |
return None
|
65 |
return response.text
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
GEMINI_START_TEXT = """
|
68 |
Welcome to Gemini AI [Dev]
|
69 |
|
@@ -580,6 +595,10 @@ async def chatbot_talk(client: Client, message: Message):
|
|
580 |
await client.send_chat_action(message.chat.id, enums.ChatAction.CANCEL)
|
581 |
return
|
582 |
|
|
|
|
|
|
|
|
|
583 |
if re.findall(r"\b(enabled:chatsystem)\b", query_base, re.IGNORECASE):
|
584 |
await db.backup_chatbot.update_one(
|
585 |
{"user_id": message.from_user.id},
|
|
|
64 |
return None
|
65 |
return response.text
|
66 |
|
67 |
+
CREDITS_DEVELOPER = """
|
68 |
+
🗓️ 2 May 2025
|
69 |
+
|
70 |
+
🤖 @GeminiAIDev_Bot — Crafted with passion by @xtdevs
|
71 |
+
|
72 |
+
🧠 Language: Python
|
73 |
+
🔒 Source Code: Not publicly available
|
74 |
+
|
75 |
+
✨ About:
|
76 |
+
You’ve entered a realm where your imagination meets intelligence.
|
77 |
+
From ✍️ text, 🖼️ images etc, to full 🗣️ conversations — Gemini is your AI companion.
|
78 |
+
|
79 |
+
🧾 Credits: Google Devs, OpenAI Engineers
|
80 |
+
"""
|
81 |
+
|
82 |
GEMINI_START_TEXT = """
|
83 |
Welcome to Gemini AI [Dev]
|
84 |
|
|
|
595 |
await client.send_chat_action(message.chat.id, enums.ChatAction.CANCEL)
|
596 |
return
|
597 |
|
598 |
+
if re.findall(r"\b(about:developer)\b", query_base, re.IGNORECASE):
|
599 |
+
await message.reply_text(CREDITS_DEVELOPER)
|
600 |
+
return
|
601 |
+
|
602 |
if re.findall(r"\b(enabled:chatsystem)\b", query_base, re.IGNORECASE):
|
603 |
await db.backup_chatbot.update_one(
|
604 |
{"user_id": message.from_user.id},
|