Fixed comments relating to mycommmands.sh; Updated text in first message after startup

This commit is contained in:
David Coomber 2020-09-06 18:51:34 +02:00
parent 6de7be098e
commit 5212a990b1

View File

@ -15,7 +15,7 @@
# use ${ME} for current bot name in messages
# Note: you must escape '_' in botname with two \ in markdown messages!
export bashbot_info='This is @'"${ME//_/\\\\_}"', the Telegram example bot written entirely in bash.
Edit commands and messages in mycommnds.sh!
Edit commands and messages in mycommands.sh!
'
# export bashbot_help='*Available commands*:
#'
@ -89,7 +89,7 @@ else
# action triggered on first message after startup
if [[ "$(getConfigKey "startupaction")" != "done"* ]]; then
# send message to first user on startup
send_normal_message "${CHAT[ID]}" "Hi, you was the first one after startup!"
send_normal_message "${CHAT[ID]}" "Hi, you are the first user after startup!"
# mark as done and when
setConfigKey "startupaction" "done $(date)"
fi