No more locations.locale in config
This commit is contained in:
@@ -100,11 +100,7 @@ class PyroClient(Client):
|
||||
self.start_time: float = 0
|
||||
|
||||
self.bot_locale: BotLocale = BotLocale(
|
||||
(
|
||||
Path(self.config["locations"]["locale"])
|
||||
if locales_root is None
|
||||
else 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
|
||||
|
Reference in New Issue
Block a user