pinhook/examples/plugins/test.py

7 lines
127 B
Python
Raw Normal View History

2017-09-27 21:59:46 +00:00
import pinhook.plugin
def test(**kwargs):
return pinhook.plugin.message("Test")
pinhook.plugin.add_plugin('!test', test)