mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-09-28 08:19:02 +00:00
update doc
This commit is contained in:
parent
5fc4d01a51
commit
3fcb8547e8
@ -30,6 +30,8 @@ Have FUN!
|
|||||||
├── JSON.sh # bashbots JSON parser, see https://github.com/dominictarr/JSON.sh
|
├── JSON.sh # bashbots JSON parser, see https://github.com/dominictarr/JSON.sh
|
||||||
│
|
│
|
||||||
├── scripts # place your bashbot interactive and background scripts here
|
├── 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
|
├── logs # here you'll find ERROR, DEBUG and MESSAGE.log
|
||||||
│
|
│
|
||||||
├── modules # optional functions, sourced by commands.sh
|
├── modules # optional functions, sourced by commands.sh
|
||||||
@ -49,7 +51,7 @@ Have FUN!
|
|||||||
│
|
│
|
||||||
├── examples # example scripts and configs for bashbot
|
├── examples # example scripts and configs for bashbot
|
||||||
│ ├── README.md # description of files and examples
|
│ ├── 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
|
│ └── bashbot.cron # example crontab
|
||||||
│
|
│
|
||||||
├── doc # Documentation and License
|
├── doc # Documentation and License
|
||||||
@ -254,5 +256,5 @@ send_action "${CHAT[ID]}" "action"
|
|||||||
#### [Prev Create Bot](1_firstbot.md)
|
#### [Prev Create Bot](1_firstbot.md)
|
||||||
#### [Next Advanced Usage](3_advanced.md)
|
#### [Next Advanced Usage](3_advanced.md)
|
||||||
|
|
||||||
#### $$VERSION$$ v0.96-dev3-4-gbc74141
|
#### $$VERSION$$ v0.96-dev3-14-g5fc4d01a
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# This file is public domain in the USA and all free countries.
|
# This file is public domain in the USA and all free countries.
|
||||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v0.96-dev3-12-g3f85134
|
#### $$VERSION$$ v0.96-dev3-14-g5fc4d01a
|
||||||
|
|
||||||
######
|
######
|
||||||
# parameters
|
# parameters
|
||||||
@ -34,7 +34,7 @@ until [ "$SUCCESS" = "y" ] ;do
|
|||||||
case $answer in
|
case $answer in
|
||||||
'Yass!') echo "Goody! mykeyboardendshere";SUCCESS=y;;
|
'Yass!') echo "Goody! mykeyboardendshere";SUCCESS=y;;
|
||||||
'No') echo "Well that's weird. mykeyboardendshere";SUCCESS=y;;
|
'No') echo "Well that's weird. mykeyboardendshere";SUCCESS=y;;
|
||||||
'') echo "empty answer!" && cleanup "$3";;
|
'') echo "empty answer!" && exit ;;
|
||||||
*) SUCCESS=n;;
|
*) SUCCESS=n;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user