v3.1.0 #102

Merged
profitroll merged 8 commits from dev into main 2024-05-19 16:22:18 +03:00
Showing only changes of commit 7068e7f194 - Show all commits

View File

@ -39,13 +39,14 @@ class PycordBot(Bot):
self.config = config
super().__init__(
debug_guilds=(
self.config["bot"]["debug_guilds"] if self.config["debug"] else None
),
owner_ids=self.config["bot"]["owners"],
*args,
**kwargs,
)
self.owner_ids: List[int] = self.config["bot"]["owners"]
self.debug_guilds: List[int] = self.config["bot"]["debug_guilds"]
self.bot_locale: BotLocale = BotLocale(
default_locale=self.config["locale"],
locales_root=(Path("locale") if locales_root is None else locales_root),