fixed empty requests
This commit is contained in:
parent
4eda44a669
commit
a1e3cb078f
2
bot.sh
2
bot.sh
@ -45,7 +45,7 @@ do
|
|||||||
fi
|
fi
|
||||||
will=$(echo "$will" | perl -pe "s/^ //")
|
will=$(echo "$will" | perl -pe "s/^ //")
|
||||||
com=$(echo "$will" | cut -d " " -f1)
|
com=$(echo "$will" | cut -d " " -f1)
|
||||||
if [ -z "$(ls modules/ | grep -i -- "$com")" ]
|
if [ -z "$(ls modules/ | grep -i -- "$com")" ] || [ -z "$com" ]
|
||||||
then
|
then
|
||||||
./modules/help/help.sh $who $from >> $input
|
./modules/help/help.sh $who $from >> $input
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user