diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/write_hooks.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/write_hooks.rst b/docs/write_hooks.rst index ffc41d705..dd60367b7 100644 --- a/docs/write_hooks.rst +++ b/docs/write_hooks.rst @@ -19,7 +19,7 @@ All Hooks should start with something like this: :: from module.plugins.Hook import Hook class YourHook(Hook): - __name__ = "My own Hook" + __name__ = "YourHook" __version__ = "0.1" __description__ = "Does really cool stuff" __config__ = [ ("activated" , "bool" , "Activated" , "True" ) ] @@ -159,4 +159,4 @@ Example ------- Sorry but you won't find an example here ;-) - Look at :file:`module/plugins/hooks` and you will find plenty examples there.
\ No newline at end of file + Look at :file:`module/plugins/hooks` and you will find plenty examples there. |