Added some extra stuff to the log.
This commit is contained in:
parent
f888885ab4
commit
43f93d0a90
1
bot.sh
1
bot.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user