3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-05 17:42:34 +01:00

Update doc/Commands.md and factoids

This commit is contained in:
Pragmatic Software 2024-07-18 16:11:05 -07:00
parent 5988d3d11d
commit 1e668a6012
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 11 additions and 4 deletions

BIN
data/factoids.sqlite3 vendored

Binary file not shown.

View File

@ -18,11 +18,12 @@
* [Listing all built-in commands](#listing-all-built-in-commands) * [Listing all built-in commands](#listing-all-built-in-commands)
* [Creating new built-in commands](#creating-new-built-in-commands) * [Creating new built-in commands](#creating-new-built-in-commands)
* [Plugins](#plugins) * [Plugins](#plugins)
* [Listing loaded plugins](#listing-loaded-plugins)
* [Functions](#functions) * [Functions](#functions)
* [Factoids](#factoids) * [Factoids](#factoids)
* [Code Factoids](#code-factoids) * [Code Factoids](#code-factoids)
* [Applets](#applets) * [Applets](#applets)
* [Listing all loaded applets](#listing-all-loaded-applets) * [Listing loaded applets](#listing-loaded-applets)
* [Commands documented here](#commands-documented-here) * [Commands documented here](#commands-documented-here)
* [version](#version) * [version](#version)
* [help](#help) * [help](#help)
@ -402,6 +403,12 @@ stand-alone self-contained units of code that can be loaded by the PBot owner.
* only bot owner can install and load PBot Plugins * only bot owner can install and load PBot Plugins
* PBot Plugins have access to PBot internal API functions and data structures * PBot Plugins have access to PBot internal API functions and data structures
##### Listing loaded plugins
To list the currently loaded plugins, use the `pluglist` command.
<pragma-> pluglist
<PBot> 25 plugins loaded: ActionTrigger, AntiAway, ..., GoogleSearch, RemindMe, Weather, Wolfram, Wordle
#### Functions #### Functions
Functions are commands that accept input, manipulate it and then output the result. They are extremely Functions are commands that accept input, manipulate it and then output the result. They are extremely
useful with [piping](#piping) or [command substituting](#substitution). useful with [piping](#piping) or [command substituting](#substitution).
@ -448,11 +455,11 @@ a PBot applet.
For more information, see the [Applets documentation.](Applets.md) For more information, see the [Applets documentation.](Applets.md)
##### Listing all loaded applets ##### Listing loaded applets
To list all of the currently loaded applets, use the `list applets` command. To list the currently loaded applets, use the `list applets` command.
<pragma-> list applets <pragma-> list applets
<PBot> Loaded applets: ago bashfaq bashpf c11std c2english c99std cdecl cfact cfaq ... etc. <PBot> Loaded applets: ago bashfaq bashpf c2english cdecl cfact cfaq cstd ... etc.
## Commands documented here ## Commands documented here
These are the commands documented in this file. For commands documented in These are the commands documented in this file. For commands documented in