예제 #1
0
    def get_help(ctx: commands.Context):
        """Return a prepare help command."""

        if command := ctx.command:
            return ctx.send_help(command)
예제 #2
0
    def get_help_command(ctx: Context) -> t.Coroutine:
        """Return a prepared `help` command invocation coroutine."""
        if ctx.command:
            return ctx.send_help(ctx.command)

        return ctx.send_help()