3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-25 13:29:29 +01:00

doc/Modules.md: minor edit

This commit is contained in:
Pragmatic Software 2020-02-10 00:42:12 -08:00
parent ce53bc4ae4
commit 4327f13bef

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