From 05be56ae49b58e0720c4308097ddcd59e73e1348 Mon Sep 17 00:00:00 2001 From: RedAura <86167689+MoeZilla@users.noreply.github.com> Date: Tue, 20 Jul 2021 17:05:32 +0530 Subject: [PATCH] Update response.py --- chatbot/plugins/response.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatbot/plugins/response.py b/chatbot/plugins/response.py index 9495ba2..7e12ac4 100644 --- a/chatbot/plugins/response.py +++ b/chatbot/plugins/response.py @@ -3,7 +3,7 @@ async def get_response(query): async with aiohttp.ClientSession() as ses: async with ses.post( - f'https://endpoint.mannu.me/?query={query}' + f'http://api.brainshop.ai/get?bid=178&key=sX5A2PcYZbsN5EY6&uid=1&msg={query}' ) as resp: answer = await resp.json() - return answer['response']['bot'] \ No newline at end of file + return answer['cnt']