From 4327f13bef663a77ab8ef3f3bd84c45a09d4285d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 10 Feb 2020 00:42:12 -0800 Subject: [PATCH] doc/Modules.md: minor edit --- doc/Modules.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/doc/Modules.md b/doc/Modules.md index 89afa0b9..7c560934 100644 --- a/doc/Modules.md +++ b/doc/Modules.md @@ -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! !qalc 2 * 2