change example plugins to match current standards
parent
1c4fdb8d9e
commit
0e510cc8b6
|
@ -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