From d0c3156e7d64517de21437a35606a2dc6db34d52 Mon Sep 17 00:00:00 2001 From: Kay Marquardt Date: Mon, 17 Apr 2023 15:26:36 +0200 Subject: [PATCH] Include --- doc/3_advanced.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/3_advanced.md b/doc/3_advanced.md index 86677cf..5498e58 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -81,10 +81,11 @@ and then use `start_proc` function from your bot, it's possible to pass two argu **Important**: The script runs standalone in a [pipeline](https://www.geeksforgeeks.org/piping-in-unix-or-linux/), it's **not possible** to use bashbot functions and variables! ```bash -mycommands.sh send user input as TEXT | script reads TEXT | bashbot.sh reads output as formated TEXT (see below) +commands.sh send user input as TEXT | script reads TEXT | bashbot.sh recieve output as formated TEXT (see below) ``` -In case you want to process any other data then message TEXT I recommend to switch to a more advanced bot framework. In bashbot you must extraxt that information in `mycommnds.sh` and insert in message TEXT before it's sent to the script (only recommended for advanced bash experts). +In case you want to process any other data then message TEXT, I recommend to switch to a more advanced bot framework. +In Bashbot you are on your own to implement methods for includeĆ­ng additional information in message TEXT before message sent to the script (only recommended for advanced bash experts). #### Example script