We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0213817 commit 2da733dCopy full SHA for 2da733d
pydis_core/_bot.py
@@ -232,7 +232,11 @@ async def wait_until_guild_available(self) -> None:
232
await self._guild_available.wait()
233
234
async def process_commands(self, message: discord.Message) -> None:
235
- """Wait until all extensions are loaded before processing commands."""
+ """
236
+ Overwrite default Discord.py behaviour to process commands only after ensuring extensions are loaded.
237
+
238
+ This extension check is only relevant for clients that make use of :obj:`pydis_core.BotBase.load_extensions`.
239
240
if self._extension_loading_task:
241
await self._extension_loading_task
242
await super().process_commands(message)
0 commit comments