change example plugins to match current standards
parent
1c4fdb8d9e
commit
0e510cc8b6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue