mirror of https://github.com/Hilbis/Hilbish
657 B
657 B
title | description | layout | weight | menu |
---|---|---|---|---|
Hooks | doc | -50 | docs |
Here is a list of bait hooks that are thrown by Hilbish. If a hook is related
to a command, it will have the command
scope, as example.
Here is the format for a doc for a hook:
- {hook name} -> args > description
{args}
just means the arguments of the hook. If a hook doc has the format
of arg...
, it means the hook can take/recieve any number of arg
.
- error -> eventName, handler, err > Emitted when there is an error in
an event handler. The
eventName
is the name of the event the handler is for, thehandler
is the callback function, anderr
is the error message.