From 7945306d84e96d55efc9ac5cd69f782dcefacb20 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Thu, 28 Sep 2017 06:33:28 -0700 Subject: [PATCH] update plugin example --- examples/plugins/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/plugins/test.py b/examples/plugins/test.py index 30b0c69..0e06e21 100644 --- a/examples/plugins/test.py +++ b/examples/plugins/test.py @@ -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))