update doc

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-07 14:32:18 +02:00
parent 5fc4d01a51
commit 3fcb8547e8
2 changed files with 29 additions and 27 deletions

View File

@ -30,6 +30,8 @@ Have FUN!
├── JSON.sh # bashbots JSON parser, see https://github.com/dominictarr/JSON.sh
├── scripts # place your bashbot interactive and background scripts here
│   └── interactive.sh.clean # interactive script template for new scripts
├── logs # here you'll find ERROR, DEBUG and MESSAGE.log
├── modules # optional functions, sourced by commands.sh
@ -49,7 +51,7 @@ Have FUN!
├── examples # example scripts and configs for bashbot
│   ├── README.md # description of files and examples
│   ├── bash2env.shh # script to convert /bin/bash shebang to /usr/bin/env, see [Security Considerations](../README.md#Security-Considerations)
│   ├── bash2env.sh # script to convert shebang to /usr/bin/env, see [Security Considerations](../README.md#Security-Considerations)
│   └── bashbot.cron # example crontab
├── doc # Documentation and License
@ -254,5 +256,5 @@ send_action "${CHAT[ID]}" "action"
#### [Prev Create Bot](1_firstbot.md)
#### [Next Advanced Usage](3_advanced.md)
#### $$VERSION$$ v0.96-dev3-4-gbc74141
#### $$VERSION$$ v0.96-dev3-14-g5fc4d01a

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.96-dev3-12-g3f85134
#### $$VERSION$$ v0.96-dev3-14-g5fc4d01a
######
# parameters
@ -34,7 +34,7 @@ until [ "$SUCCESS" = "y" ] ;do
case $answer in
'Yass!') echo "Goody! mykeyboardendshere";SUCCESS=y;;
'No') echo "Well that's weird. mykeyboardendshere";SUCCESS=y;;
'') echo "empty answer!" && cleanup "$3";;
'') echo "empty answer!" && exit ;;
*) SUCCESS=n;;
esac
done