From 146e509620fa69adb7abfd54f72cffcf668e3093 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Sat, 20 Jul 2024 18:55:26 -0700 Subject: [PATCH] assistance: use v1 UDB-API for now TODO: Switch to v2 --- cogs/assistance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/assistance.py b/cogs/assistance.py index 4f2c987a..b24e3ef4 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/search/' + query, timeout=45) as r: + async with self.bot.session.get('https://udb-api.lightsage.dev/v1/search/' + query, timeout=45) as r: if r.status == 200: j = await r.json() res = j['results']