Welcome to the Starter Plugin! This plugin is designed to provide a simple and effective way to integrate with your application using the Webito Plugin SDK.
- Easy Integration: Quickly integrate with your existing application.
- Hooks: Utilize hooks like
messagesCreate
andproductsCreate
to extend functionality. - Asynchronous Operations: Leverage asynchronous operations for better performance.
To install the Starter Plugin, follow these steps:
-
Clone the repository:
git clone https://github.com/webito-io/webito-plugin-starter cd starter-plugin
-
Install dependencies:
npm install
-
Run the plugin:
node dist/index.js
You can register hooks to handle specific events:
starter.registerHook('messagesCreate', ({ target }) => {
// Your logic here
});
You can execute hooks with the following function:
const result = await starter.executeHook('hookName', { data });
We welcome contributions! Please feel free to submit a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.