Update Akeno/__main__.py
Browse files- Akeno/__main__.py +0 -3
Akeno/__main__.py
CHANGED
@@ -52,9 +52,6 @@ client = Client(
|
|
52 |
)
|
53 |
async def chatbot_talk(client: Client, message: Message):
|
54 |
try:
|
55 |
-
chat_user = await db.get_chatbot(message.chat.id)
|
56 |
-
if not chat_user:
|
57 |
-
return # Exit if no chatbot is configured for the chat
|
58 |
|
59 |
genai.configure(api_key=GOOGLE_API_KEY)
|
60 |
|
|
|
52 |
)
|
53 |
async def chatbot_talk(client: Client, message: Message):
|
54 |
try:
|
|
|
|
|
|
|
55 |
|
56 |
genai.configure(api_key=GOOGLE_API_KEY)
|
57 |
|