Onionr/static-data/default_plugin.py
2019-09-23 17:56:05 -05:00

17 lines
361 B
Python
Executable File

'''
$name plugin template file.
Generated on $date by $user.
'''
plugin_name = '$name'
def on_init(api, data = None):
'''
This event is called after Onionr is initialized, but before the command
inputted is executed. Could be called when daemon is starting or when
just the client is running.
'''
pluginapi = api