From 0b38960da16e8dd61441a32ff33007e3862a568f Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Sat, 20 Jul 2024 20:10:46 -0700 Subject: [PATCH] Revert "assistance: use v1 UDB-API for now" It works just fine. This reverts commit 146e509620fa69adb7abfd54f72cffcf668e3093. --- cogs/assistance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index b24e3ef4..4f2c987a 100644 --- a/cogs/assistance.py +++ b/cogs/assistance.py @@ -87,7 +87,7 @@ async def setup_assistance(self): async def unisearch(self, query: str) -> list[dict]: query = query.lower() res = [] - async with self.bot.session.get('https://udb-api.lightsage.dev/v1/search/' + query, timeout=45) as r: + async with self.bot.session.get('https://udb-api.lightsage.dev/search/' + query, timeout=45) as r: if r.status == 200: j = await r.json() res = j['results']