From b29e194729a2bc069fa8840e24d8f9078b0243c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aluerie=E2=9D=A4?= Date: Fri, 8 Nov 2024 20:45:54 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=A5Oups,=20wrong=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/fpc/storage.py | 1 + utils/lol/storage.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/fpc/storage.py b/utils/fpc/storage.py index 44bdc059..2bd32db7 100644 --- a/utils/fpc/storage.py +++ b/utils/fpc/storage.py @@ -227,6 +227,7 @@ async def create_character_emote_helper( title=f"New emote was added to `{table}` table.", description=f'```py\n{new_emote.name} = "{new_emote}"```', ) + .set_thumbnail(url=emote_source_url) .add_field( name=emote_name, value=str(new_emote), diff --git a/utils/lol/storage.py b/utils/lol/storage.py index b8d71b96..dd47fd76 100644 --- a/utils/lol/storage.py +++ b/utils/lol/storage.py @@ -72,7 +72,7 @@ async def fill_data(self) -> dict[int, Champion]: """ champion_summary = await self.bot.lol.cdragon.get_lol_v1_champion_summary() - query = "SELECT id, emote FROM dota_heroes_info" + query = "SELECT id, emote FROM lol_champions_info" rows: list[GetChampionEmoteRow] = await self.bot.pool.fetch(query) champion_emotes = {row["id"]: row["emote"] for row in rows}