change example plugins to match current standards

pull/74/head
Mal Hancock 2020-04-28 13:10:43 -07:00 committed by GitHub
parent 0e510cc8b6
commit 5b241eee13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: