change example plugins to match current standards

这个提交包含在:
Mal Hancock 2020-04-28 13:10:43 -07:00 提交者 GitHub
父节点 0e510cc8b6
当前提交 5b241eee13
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

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