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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_core/_bot.py b/pydis_core/_bot.py
index a94dff56..6a3d3886 100644
--- a/pydis_core/_bot.py
+++ b/pydis_core/_bot.py
@@ -232,7 +232,11 @@ class BotBase(commands.Bot):
await self._guild_available.wait()
async def process_commands(self, message: discord.Message) -> None:
- """Wait until all extensions are loaded before processing commands."""
+ """
+ Overwrite default Discord.py behaviour to process commands only after ensuring extensions are loaded.
+
+ This extension check is only relevant for clients that make use of :obj:`pydis_core.BotBase.load_extensions`.
+ """
if self._extension_loading_task:
await self._extension_loading_task
await super().process_commands(message)