From 9165a960434751f67ad7e322cdcdb3b3e82a7310 Mon Sep 17 00:00:00 2001 From: seria Date: Fri, 15 Mar 2024 08:35:53 +0800 Subject: [PATCH] fix(/characters): Fix missing translator --- hoyo_buddy/cogs/hoyo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hoyo_buddy/cogs/hoyo.py b/hoyo_buddy/cogs/hoyo.py index a2f017df..bf1911f5 100644 --- a/hoyo_buddy/cogs/hoyo.py +++ b/hoyo_buddy/cogs/hoyo.py @@ -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(