fix commands.sh in process_message

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-05-12 17:11:58 +02:00
parent 8b97444c38
commit acee08deff

View File

@ -397,7 +397,7 @@ process_client() {
fi
# Tmux
copname="$ME"_"${CHAT[ID]}"
source commands.sh
source "${COMMANDS}"
tmpcount="COUNT${CHAT[ID]}"
grep -q "$tmpcount" <"${COUNTFILE}" >/dev/null 2>&1 || echo "$tmpcount">>"${COUNTFILE}"
# To get user count execute bash bashbot.sh count