Updated help.

This commit is contained in:
Storm Dragon 2016-09-03 23:25:14 -04:00
parent ecd5402450
commit 6918bf8589

View File

@ -1,3 +1,4 @@
echo "PRIVMSG $2 :$1: The available modules I have are:"
output=$(ls modules/)
echo "PRIVMSG $2 :$1: "$output
[ -f functions.sh ] && source functions.sh
output="$1: The modules I have are:"
output="$output $(find modules/ -type d | tr '[:space:]' ' ' | sed -e 's#modules/##g')"
msg "$2" "$output"