dev: exclude bashbot.rc scripts: header

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2021-01-16 09:20:17 +01:00
parent 6857a5558f
commit d269f9816d
3 changed files with 15 additions and 7 deletions

View File

@ -1,5 +1,6 @@
data-bot-bash/*
JSON.awk
bashbot.rc
awk-patch.sh
*.jssh*
botacl

View File

@ -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

View File

@ -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