You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
376 B

#!/usr/bin/env python3
from pyln.client import Plugin
plugin = Plugin()
@plugin.method("call_make_notify")
def call_make_notify(plugin, request, **kwargs):
plugin.notify_message(request, "Starting notification", level='debug')
plugin.notify_progress(request, 0, 2)
plugin.notify_progress(request, 1, 2)
return plugin.rpc.call('make_notify')
plugin.run()