Files
agessaman 4e5addd5df Add support for local plugins and services
- Updated `.gitignore` to include local configuration and plugin directories, allowing users to add custom commands and services without modifying core code.
- Enhanced `config.ini.example` with instructions for using local plugins and added sections for local service configurations.
- Refactored `PluginLoader` and `ServicePluginLoader` to support loading local commands and services from specified directories, improving extensibility.
- Updated `mkdocs.yml` to include documentation for local plugins and the check-in API.
- Added tests to verify the discovery and loading of local plugins, ensuring functionality and preventing name collisions with built-in plugins.
2026-03-04 18:33:45 -08:00
..

Local plugins and services

Place your own command plugins and service plugins here so they stay separate from bot-provided code.

  • local/commands/ — Python files each defining a command (subclass of BaseCommand). Loaded after built-in commands; duplicate names are skipped.
  • local/service_plugins/ — Python files each defining a background service (subclass of BaseServicePlugin). Loaded after built-in services; duplicate names are skipped.
  • local/config.ini — Optional. Merged with main config.ini; use it for sections and options for your local plugins and services.

See docs/local-plugins.md (or the "Local plugins and services" section in the docs) for how to write a minimal plugin and configure it.