changed module store style, removed the pow
This commit is contained in:
4
bot.sh
4
bot.sh
@ -45,12 +45,12 @@ do
|
||||
fi
|
||||
will=$(echo "$will" | perl -pe "s/^ //")
|
||||
com=$(echo "$will" | cut -d " " -f1)
|
||||
if [ -z "$(ls modules/ | grep -i -- "$com.sh")" ]
|
||||
if [ -z "$(ls modules/ | grep -i -- "$com")" ]
|
||||
then
|
||||
./modules/help.sh $who $from >> $input
|
||||
continue
|
||||
fi
|
||||
./modules/$com.sh $who $from $(echo "$will" | cut -d " " -f2-99) >> $input
|
||||
./modules/$com/$com.sh $who $from $(echo "$will" | cut -d " " -f2-99) >> $input
|
||||
;;
|
||||
*)
|
||||
echo "$res"
|
||||
|
Reference in New Issue
Block a user