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 572020c commit 68e9cf3Copy full SHA for 68e9cf3
discord/ext/commands/bot.py
@@ -314,7 +314,7 @@ class be provided, it must be similar enough to :class:`.Context`\'s
314
ctx.invoked_with = invoker
315
# type-checker fails to narrow invoked_prefix type.
316
ctx.prefix = invoked_prefix # type: ignore
317
- ctx.command = self.all_commands.get(invoker)
+ ctx.command = self.prefixed_commands.get(invoker)
318
return ctx
319
320
async def invoke(self, ctx: Context) -> None:
0 commit comments