Skip to content

Commit

Permalink
🪥Oups, wrong table
Browse files Browse the repository at this point in the history
  • Loading branch information
Aluerie committed Nov 8, 2024
1 parent 8e33223 commit b29e194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions utils/fpc/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion utils/lol/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit b29e194

Please sign in to comment.