diff --git a/README.html b/README.html index 66faa5c..dd5d2b8 100644 --- a/README.html +++ b/README.html @@ -391,6 +391,6 @@ It features background tasks and interactive chats, and can serve as an interfac

@Gnadelwartz

That's it all guys!

If you feel that there's something missing or if you found a bug, feel free to submit a pull request!

-

$$VERSION$$ v1.32-dev-9-g13052f0

+

$$VERSION$$ v1.40-dev-29-g737be16

diff --git a/README.txt b/README.txt index 0a5498b..ee6d2c2 100644 --- a/README.txt +++ b/README.txt @@ -315,5 +315,5 @@ That's it all guys! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -$$VERSION$$ v1.32-dev-9-g13052f0 +$$VERSION$$ v1.40-dev-29-g737be16 diff --git a/bin/bashbot_env.inc.sh b/bin/bashbot_env.inc.sh index 6455e17..5abb95b 100644 --- a/bin/bashbot_env.inc.sh +++ b/bin/bashbot_env.inc.sh @@ -13,12 +13,12 @@ # AUTHOR: KayM (gnadelwartz), kay@rrr.de # CREATED: 18.12.2020 12:27 # -#### $$VERSION$$ v1.40-dev-27-gc4d100e +#### $$VERSION$$ v1.40-dev-30-g3a29a9d #=============================================================================== ############ # set where your bashbot lives -export BASHBOT_HOME BASHBOT_ETC BASHBOT_VAR FILE_REGEX +export BASHBOT_HOME BASHBOT_ETC BASHBOT_VAR FILE_REGEX ME # default: one dir up BASHBOT_HOME="$(cd "${BASH_SOURCE[0]%/*}" >/dev/null 2>&1 && pwd)/../" @@ -61,6 +61,7 @@ FILE_REGEX="${UPLOADDIR}/.*" # get and check ADMIN and NAME BOT_ADMIN="$(getConfigKey "botadmin")" BOT_NAME="$(getConfigKey "botname")" +ME="${BOT_NAME}" [[ -z "${BOT_ADMIN}" || "${BOT_ADMIN}" == "?" ]] && printf "%s\n" "${ORANGE}Warning: Botadmin not set, send bot command${NC} /start" [[ -z "${BOT_NAME}" ]] && printf "%s\n" "${ORANGE}Warning: Botname not set, run bashbot.sh botname"