mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 05:02:46 +00:00
update calc example with new keyboard style
This commit is contained in:
parent
3824137433
commit
6ff574b9a3
5
calc
5
calc
@ -3,7 +3,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.6-rc1-7-g14eb352
|
||||
#### $$VERSION$$ v0.60-dev3-7-gf5538ef
|
||||
|
||||
# adjust your language setting here
|
||||
# https://github.com/topkecleon/telegram-bot-bash#setting-up-your-environment
|
||||
@ -19,8 +19,7 @@ echo 'Enter first number.'
|
||||
read -r A
|
||||
echo 'Enter second number.'
|
||||
read -r B
|
||||
echo 'Select Operation: mykeyboardstartshere "Addition" "Subtraction" "Multiplication" "Division" "Cancel"'
|
||||
echo 'Your anwser can be: add, sub, mul, div or cancel'
|
||||
echo 'Select Operation: mykeyboardstartshere [ "Addition" , "Subtraction" , "Multiplication" , "Division" , "Cancel" ]'
|
||||
read -r opt
|
||||
echo -n 'Result: '
|
||||
case $opt in
|
||||
|
Loading…
Reference in New Issue
Block a user