mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-21 23:25:08 +00:00
Update question
This commit is contained in:
parent
6e3e156f42
commit
79a7a7ee4a
2
question
2
question
@ -5,7 +5,7 @@ Would you like some tea (y/n)?"
|
||||
read answer
|
||||
[[ $answer =~ ^([yY][eE][sS]|[yY])$ ]] && echo "OK then, here you go: http://www.rivertea.com/blog/wp-content/uploads/2013/12/Green-Tea.jpg" || echo "OK then."
|
||||
until [ "$SUCCESS" = "y" ] ;do
|
||||
echo "Do you like Music? mykeyboardstartshere Yass! No"
|
||||
echo 'Do you like Music? mykeyboardstartshere "Yass!" "No"'
|
||||
read answer
|
||||
case $answer in
|
||||
'Yass!') echo "Goody!";SUCCESS=y;;
|
||||
|
Loading…
Reference in New Issue
Block a user