From 4fd0b4d5e8f67810cb08370504a57d38c6e3d89c Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 19 Feb 2024 21:40:07 +0000 Subject: ruff lint fix: Breaking changes to make bool args kwarg-only --- pydis_core/_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_core/_bot.py') 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``. -- cgit v1.2.3