update plugin example

pull/1/head
Mallory Hancock 2017-09-28 06:33:28 -07:00
parent 1d92f5d0d2
commit 7945306d84
1 changed files with 2 additions and 1 deletions

View File

@ -2,5 +2,6 @@ import pinhook.plugin
@pinhook.plugin.register('!test')
def test(**kwargs):
return pinhook.plugin.message("Test")
nick = kwargs['nick']
return pinhook.plugin.message("{}: Test".format(nick))