3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 11:59:43 +01:00

doc/Commands.md: minor edit

This commit is contained in:
Pragmatic Software 2020-01-21 21:29:27 -08:00
parent aaa8b88f51
commit a6b49fc1a0

View File

@ -173,10 +173,10 @@ subroutine and data structures.
#### Creating new built-in commands #### Creating new built-in commands
Built-in commands are created via the `register()` function of the `Commands` Built-in commands are created via the `register()` function of the `Commands`
module. Such commands are registered throughout PBot's source code. The owner module. Such commands are registered throughout PBot's source code. The owner
of the PBot instance can locally add new commands by editing PBot's source code of the PBot instance can add new commands by editing PBot's source code
or by acquiring and loading Plugins. or by acquiring and loading Plugins.
* only bot owner can locally create new built-in commands * only bot owner can create new built-in commands
* built-in commands have access to PBot internal API functions and data structures * built-in commands have access to PBot internal API functions and data structures
#### Plugins #### Plugins