diff --git a/src/libbot/pyrogram/classes/client.py b/src/libbot/pyrogram/classes/client.py index 6026fdf..c232280 100644 --- a/src/libbot/pyrogram/classes/client.py +++ b/src/libbot/pyrogram/classes/client.py @@ -102,7 +102,8 @@ class PyroClient(Client): self.start_time: float = 0 self.bot_locale: BotLocale = BotLocale( - (Path("locale") if locales_root is None else locales_root) + default_locale=self.config["locale"], + locales_root=(Path("locale") if locales_root is None else locales_root) ) self.default_locale: str = self.bot_locale.default self.locales: dict = self.bot_locale.locales