29 lines
552 B
Python
29 lines
552 B
Python
def pluginStart():
|
|
print(f"Starting '{__name__}'")
|
|
|
|
def genericHooks():
|
|
print(f"Starting '{__name__}'")
|
|
funcList = ["exampleFunc"]
|
|
print(f"Registering hooks {funcList}")
|
|
return [__name__,funcList]
|
|
|
|
def messageHooks():
|
|
funcList = ["onMessage"]
|
|
print(f"Registering hooks {funcList}")
|
|
return [__name__,funcList]
|
|
|
|
def mentionHooks():
|
|
funcList = ["onMention"]
|
|
return [__name__,funcList]
|
|
|
|
def exampleFunc():
|
|
# Do code
|
|
pass
|
|
|
|
def onMessage(msg):
|
|
# Do code
|
|
pass
|
|
|
|
def onMention(msg):
|
|
# Do code
|
|
pass |