Compare commits
7 Commits
2ed348933b
...
v3.1.0
Author | SHA1 | Date | |
---|---|---|---|
55c61e3fce | |||
7068e7f194
|
|||
5b16419f20 | |||
10c7ecbfd0 | |||
b9550032ba | |||
5ba763246b | |||
f0ffdf096d |
@@ -3,7 +3,7 @@ build==1.2.1
|
||||
isort==5.13.2
|
||||
mypy==1.10.0
|
||||
pylint==3.2.1
|
||||
pytest-asyncio==0.23.6
|
||||
pytest-asyncio==0.23.7
|
||||
pytest-cov==5.0.0
|
||||
pytest==8.2.0
|
||||
tox==4.15.0
|
||||
|
@@ -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),
|
||||
|
Reference in New Issue
Block a user