doc/PLUGIN.md
# Plugin requirements
Each plugin requires to define a 'run' a 'help' and an 'init' function.
Each one of those will be executed on main program start, on the regular
executions (via loop at the moment) or when '/help' is requested as command.
Init returns the list of triggers, so if a trigger is found as the first word
in a line (starting with ^) or in any place in the text, that plugin will be executed, otherwise, ignored.
Returning "*" makes plugin to execute on all messages.
## Donations
The bot runs on my hardware which involves (HW, power, internet, etc), if
you wish to collaborate, please, use <https://www.paypal.me/iranzop> for
your donation.