mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-28 12:50:44 +00:00
fix stats help
This commit is contained in:
parent
928ab057e8
commit
4d1c237510
@ -16,7 +16,7 @@
|
|||||||
# AUTHOR: KayM (gnadelwartz), kay@rrr.de
|
# AUTHOR: KayM (gnadelwartz), kay@rrr.de
|
||||||
# CREATED: 23.12.2020 20:34
|
# CREATED: 23.12.2020 20:34
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v1.2-dev2-54-gfffa436
|
#### $$VERSION$$ v1.2-dev2-57-g928ab05
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
# set bashbot environment
|
# set bashbot environment
|
||||||
@ -27,7 +27,7 @@ source "${0%/*}/bashbot_env.inc.sh"
|
|||||||
# parse args
|
# parse args
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"-h"*)
|
"-h"*)
|
||||||
echo "usage: send_message [-h|--help] [format] "CHAT[ID]" "message ...." [debug]"
|
echo "usage: send_message [-h|--help] [debug]"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
'--h'*)
|
'--h'*)
|
||||||
@ -38,7 +38,7 @@ esac
|
|||||||
|
|
||||||
# source bashbot and send message
|
# source bashbot and send message
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "${BASHBOT_HOME}/bashbot.sh" source "$3"
|
source "${BASHBOT_HOME}/bashbot.sh" source "$1"
|
||||||
|
|
||||||
####
|
####
|
||||||
# ready, do stuff here -----
|
# ready, do stuff here -----
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
# AUTHOR: KayM (gnadelwartz), kay@rrr.de
|
# AUTHOR: KayM (gnadelwartz), kay@rrr.de
|
||||||
# CREATED: 23.12.2020 16:52
|
# CREATED: 23.12.2020 16:52
|
||||||
#
|
#
|
||||||
#### $$VERSION$$ v1.2-dev2-56-g9f3d39d
|
#### $$VERSION$$ v1.2-dev2-57-g928ab05
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
# set bashbot environment
|
# set bashbot environment
|
||||||
|
Loading…
Reference in New Issue
Block a user