diff options
author | 2024-02-19 21:40:07 +0000 | |
---|---|---|
committer | 2024-03-04 12:35:02 +0000 | |
commit | 4fd0b4d5e8f67810cb08370504a57d38c6e3d89c (patch) | |
tree | 23fdb2542e6224595a538e11b229c69628da7387 /pydis_core/_bot.py | |
parent | ruff lint fix: Manual non-breaking changes (diff) |
ruff lint fix: Breaking changes to make bool args kwarg-only
Diffstat (limited to 'pydis_core/_bot.py')
-rw-r--r-- | pydis_core/_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/_bot.py b/pydis_core/_bot.py index 365b67b3..0427c659 100644 --- a/pydis_core/_bot.py +++ b/pydis_core/_bot.py @@ -146,7 +146,7 @@ class BotBase(commands.Bot): await self.tree.sync() await self.tree.sync(guild=discord.Object(self.guild_id)) - async def load_extensions(self, module: types.ModuleType, sync_app_commands: bool = True) -> None: + async def load_extensions(self, module: types.ModuleType, *, sync_app_commands: bool = True) -> None: """ Load all the extensions within the given ``module`` and save them to ``self.all_extensions``. |