change example plugins to match current standards
parent
0e510cc8b6
commit
5b241eee13
|
@ -17,7 +17,7 @@ def build_output(rolls, modifier):
|
||||||
output = start
|
output = start
|
||||||
return output
|
return output
|
||||||
|
|
||||||
@pinhook.plugin.register('!roll')
|
@pinhook.plugin.command('!roll')
|
||||||
def roll(msg):
|
def roll(msg):
|
||||||
matches = dicepattern.match(msg.arg)
|
matches = dicepattern.match(msg.arg)
|
||||||
if matches:
|
if matches:
|
||||||
|
|
Loading…
Reference in New Issue