From d269f9816de75f7c5e35d6483b949f157da24722 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sat, 16 Jan 2021 09:20:17 +0100 Subject: [PATCH] dev: exclude bashbot.rc scripts: header --- dev/make-distribution.sh.exclude | 1 + doc/2_usage.md | 6 +++--- scripts/interactive.sh.clean | 15 +++++++++++---- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/dev/make-distribution.sh.exclude b/dev/make-distribution.sh.exclude index e93a029..7a277f1 100644 --- a/dev/make-distribution.sh.exclude +++ b/dev/make-distribution.sh.exclude @@ -1,5 +1,6 @@ data-bot-bash/* JSON.awk +bashbot.rc awk-patch.sh *.jssh* botacl diff --git a/doc/2_usage.md b/doc/2_usage.md index ed80a73..7d78516 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -142,7 +142,7 @@ Note: to get help about a script in bin/ run `scriptname.sh --help` ## Receive data Evertime a Telegram update is received, you can read incoming data using the following variables: -In case you need other update values, the array `UDP` contains complete Telegram response. +In case you need other update values, the array `UPD` contains complete Telegram response. ### Regular Messages @@ -259,7 +259,7 @@ they contain the following variables only: ## Send data / get response After every `send_xxx` `get_xxx` call the array BOTSENT contains the most important values from Telegram response. -In case you need other response values , the array `UDP` contains complete Telegram response. +In case you need other response values , the array `UPD` contains complete Telegram response. ### BOTSENT array @@ -351,5 +351,5 @@ send_action "${CHAT[ID]}" "action" #### [Prev Create Bot](1_firstbot.md) #### [Next Advanced Usage](3_advanced.md) -#### $$VERSION$$ v1.30-dev-26-gd12ab86 +#### $$VERSION$$ v1.30-dev-27-g6857a55 diff --git a/scripts/interactive.sh.clean b/scripts/interactive.sh.clean index 6d710bd..b9c6079 100755 --- a/scripts/interactive.sh.clean +++ b/scripts/interactive.sh.clean @@ -1,12 +1,19 @@ #!/bin/bash -# file: interactive.sh -# template for an interactive chat -# test: start_proc "${CHAT[ID]}" "./scripts/interactive.sh.clean" +######################################################################## +# +# File: interactive.sh +# +# Description: template for an interactive chat +# +# Usgage: start_proc "${CHAT[ID]}" ./scripts/interactive.sh.clean +# +# Test in CLI: ./scripts/interactive.sh.clean # # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v1.21-0-gc85af77 +#### $$VERSION$$ v1.30-dev-27-g6857a55 +######################################################################## ###### # parameters