doc/Modules.md: minor edit

This commit is contained in:
Pragmatic Software 2020-02-10 00:42:12 -08:00
parent ce53bc4ae4
commit 4327f13bef
1 changed files with 6 additions and 9 deletions

View File

@ -89,18 +89,15 @@ shell script containing:
And let's call it `qalc.sh` and put it in PBot's `modules/` directory.
Then you can add the `qalc` factoid:
!factadd global qalc qalc.sh
And then set its `type` to `module`:
!factset global qalc type module
Alternatively, you can simply use the [`load`](Admin.md#load) command:
Then you can use the [`load`](Admin.md#load) command:
!load qalc qalc.sh
Note: this is equivalent to creating a factoid and setting its `type` to `module`:
!factadd global qalc qalc.sh
!factset global qalc type module
Now you have a `qalc` calculator in PBot!
<pragma-> !qalc 2 * 2