pinhook/examples/plugins/test.py

7 lines
120 B
Python

import pinhook.plugin
@pinhook.plugin.register('!test')
def test(**kwargs):
return pinhook.plugin.message("Test")