webhookify-plugin
This module contains an abstract class, which webhookify plugins should extend to be compatible with the webhookify client. More information about developing your own plugins for the webhookify client can be found on the wiki.
Example
const Plugin = ; { // plugin name is set in the constructor of the base Plugin class super"myawesomeplugin" config; // the config can be accessed in this.config } { // do something with the payload here } { // do something with the payload, then call reply(response) within 5 seconds } // you can add additional methods and variables