Skip to content

Commit

Permalink
fix(/characters): Fix missing translator
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Mar 15, 2024
1 parent f34e0e6 commit 9165a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hoyo_buddy/cogs/hoyo.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ async def characters_command(
account_ = account or await self.bot.get_account(i.user.id, [Game.GENSHIN])
await account_.fetch_related("user", "user__settings")

async with AmbrAPIClient() as client:
async with AmbrAPIClient(translator=self.bot.translator) as client:
element_char_counts = await client.fetch_element_char_counts()

view = CharactersView(
Expand Down

0 comments on commit 9165a96

Please sign in to comment.