-snip-
Unfortunately, as OP mentioned,
lnpay currently doesn't take an amount arg.
As you can see in commands.py->
line1138, it only takes an "
invoice" arg so the recipient has to add a 'requested amount' to his invoice for it to work in lnpay.
The "
amount" in line 1115 that you've linked is under the command
open_channel.
@
SlackBitcoinerIs trivial to add that feature so if you really need it, I'd suggest you to open a new "
feature request" issue in GitHub.
Developers may find it necessary since the implementation of no-amount invoice made the command unusable in this kind of scenario.