3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00
pbot/doc/Plugins.md

27 lines
922 B
Markdown
Raw Normal View History

# Plugins
<!-- md-toc-begin -->
* [About](#about)
2020-07-23 23:38:53 +02:00
* [Plang](Plugins/Plang.md)
* [Quotegrabs](Plugins/Quotegrabs.md)
<!-- md-toc-end -->
## About
A Plugin is an independent unit of PBot code that can be loaded and unloaded at will.
Plugins have full access to PBot internal APIs and state.
The default plugins loaded by PBot is set by the [`plugin_autoload`](../data/plugin_autoload)
file in your data-directory. To autoload additional plugins, add their name to this file.
The plugins that come with PBot live in [`lib/PBot/Plugin/`](../lib/PBot/Plugin). Additional third-party
plugins may be installed to `~/.pbot/PBot/Plugin/`.
This is the woefully incomplete documentation for the plugins. For more documentation,
browse the headers of the various plugin source files.
2020-07-23 21:18:53 +02:00
2020-07-23 23:37:04 +02:00
## [Plang](Plugins/Plang.md)
2020-07-23 23:38:53 +02:00
Scripting interface to PBot.
2020-07-23 21:18:53 +02:00
2020-07-23 23:37:04 +02:00
## [Quotegrabs](Plugins/Quotegrabs.md)
2020-07-23 21:18:53 +02:00
Grabs and stores user messages for posterity.