Fixed PyroClient.bot_locale
This commit is contained in:
parent
65838450ee
commit
1c1c71d40b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user