Added some extra stuff to the log.

This commit is contained in:
Storm Dragon 2020-08-10 09:34:53 -04:00
parent f888885ab4
commit 43f93d0a90
1 changed files with 1 additions and 0 deletions

1
bot.sh
View File

@ -93,6 +93,7 @@ set +f
# Call link trigger if msg contains a link:
if [[ "$result" =~ .*http://|https://|www\..* ]]; then
set -f
echo "Calling link.sh with \"$who\" \"$from\" \"$result\"" >> "$log"
./triggers/link/link.sh "$who" "$from" "$result"
set -f
# Although this calls modules, it triggers on text other than the bot's nick