old_contents: import pinhook.plugin
  
  def test(**kwargs):
      return pinhook.plugin.message("Test")
  
  pinhook.plugin.add_plugin('!test', test)
  
new_contents: import pinhook.plugin
  
  @pinhook.plugin.register('!test')
  def test(**kwargs):
      return pinhook.plugin.message("Test")
  
  
subject: update example plugin with decorator