[Doc] Some more documentation on Plugin
This commit is contained in:
parent
d439cd93c8
commit
d07aa977b5
|
@ -4,13 +4,13 @@ from werkzeug.exceptions import MethodNotAllowed
|
|||
from flaschengeist.hook import HookCall
|
||||
|
||||
send_message_hook = HookCall("send_message")
|
||||
"""Hook for sending messages, register to send the message
|
||||
"""Hook decorator for sending messages, register to send the message
|
||||
Args:
|
||||
message: Message object to send
|
||||
"""
|
||||
|
||||
update_user_hook = HookCall("update_user")
|
||||
"""When ever an user update is done, this is called before.
|
||||
"""Hook decorator, when ever an user update is done, this is called before.
|
||||
Args:
|
||||
user: User object
|
||||
"""
|
||||
|
@ -18,6 +18,7 @@ Args:
|
|||
|
||||
class Plugin:
|
||||
"""Base class for all Plugins"""
|
||||
|
||||
def __init__(self, config=None, blueprint=None, permissions=[]):
|
||||
"""Constructor called by create_app
|
||||
Args:
|
||||
|
|
Loading…
Reference in New Issue