pinhook/examples/plugins/test.py

7 lines
127 B
Python

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