Plugins
A newly added feature in v2 of the chatbot, the plugins
prop provides users with the means to install and use custom plugins. Similar to themes, the browsing of plugins can be done on React ChatBotify Gallery, where you will find both official and community plugins.
Overview
There is a small group of official plugins maintained, which provide useful functionalities in common use cases. As of the last update, the list of official plugins are as below:
- Input Validator
- Markdown Parser
- LLM Connector (WIP)
- Discord Live Chat (WIP)
If you strongly believe that there are common use cases with no suitable plugins, you may feel free to make a suggestion for one on discord.
For instructions on using plugins (both official or community-based), please refer to the plugin's documentation. Note that the maintenance of plugins are separate from the maintenance of the core React ChatBotify library.
Building Your Own Plugin
In the ideal scenario, there is already an existing plugin out there to address your use case. At times however, it may be necessary to build your own custom plugins. To assist you with creating your own plugins, a skeleton repository has been setup with a comprehensive README to guide you in the process. Kindly refer to the react-chatbotify-plugin-template repository to get started.
If you're keen to dive into creating plugins, you are strongly encouraged to join the discord to stay up to date with the latest information and for ease of support.