mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-30 09:44:51 +00:00
Update chatbot_ai.py
This commit is contained in:
parent
55a2eee77c
commit
ba5e961457
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ async def bard_chatbot(self: Client, ctx: Message, strings):
|
|||
data = {'message': ctx.input, 'session_id':'XAjzKUFvf_nQtNg4bt0pG54rCLnaWeJFE1_FXuQnVjNyfmjDhkKZyoqXqW5cgBmmnf8Eqg.'}
|
||||
try:
|
||||
req = await http.post("https://bard-api-rho.vercel.app/ask", json=data)
|
||||
await msg.edit_msg(req.get("content"))
|
||||
await msg.edit_msg(req.json().get("content"))
|
||||
except Exception as e:
|
||||
await msg.edit_msg(str(e))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue