mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-27 04:32:49 +00:00
commands: fork commands.sh
This commit is contained in:
parent
cbf3945e4f
commit
8c85c81f94
@ -30,7 +30,7 @@ BOTCOMMANDS="-h help init start stop status suspendback resumeback killb
|
||||
# 8 - curl/wget missing
|
||||
# 10 - not bash!
|
||||
#
|
||||
#### $$VERSION$$ v1.35-dev-14-g08a0524
|
||||
#### $$VERSION$$ v1.35-dev-21-gcbf3945
|
||||
##################################################################
|
||||
|
||||
# emmbeded system may claim bash but it is not
|
||||
@ -707,7 +707,7 @@ process_client() {
|
||||
# process inline and message events
|
||||
# first classic command dispatcher
|
||||
# shellcheck source=./commands.sh
|
||||
source "${COMMANDS}" "${debug}" &
|
||||
"${COMMANDS}" "${debug}" &
|
||||
|
||||
# then all registered addons
|
||||
if [ -z "${iQUERY[ID]}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user