aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core/_bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_core/_bot.py')
-rw-r--r--pydis_core/_bot.py2
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``.