From 5b241eee131ceaeaf7996eb65fd06b09b37d7778 Mon Sep 17 00:00:00 2001 From: Mal Hancock Date: Tue, 28 Apr 2020 13:10:43 -0700 Subject: [PATCH] change example plugins to match current standards --- examples/twitch/plugins/dice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/twitch/plugins/dice.py b/examples/twitch/plugins/dice.py index 56a9ae5..287580f 100644 --- a/examples/twitch/plugins/dice.py +++ b/examples/twitch/plugins/dice.py @@ -17,7 +17,7 @@ def build_output(rolls, modifier): output = start return output -@pinhook.plugin.register('!roll') +@pinhook.plugin.command('!roll') def roll(msg): matches = dicepattern.match(msg.arg) if matches: