Commit b380313b authored by user472393's avatar user472393
Browse files

!ua np now calls the extracter for that date

parent 078d2c29
Pipeline #87 passed with stage
in 3 seconds
......@@ -438,6 +438,7 @@ parser () {
fi
;;
-d|--date)
info "we have a date and its $2"
r=
((e++))
((e>1)) && excluder
......
......@@ -95,6 +95,10 @@ parser () {
current_demo () {
read -r var < "$demo_selection"
printf '%s\n' "now playing:" "$var" | $inwee -b "$buffer"
var=${var##*demos\/}
var=${var%%\/*}
info "var is $var"
extract "--date" "$var"
exit
}
......@@ -117,6 +121,7 @@ bot_help () {
}
extract () {
info "extracter called"
info "extractor functions \$* is $*"
printf '%s\n' "calling the extracter ~~~ " | $inwee -b "$buffer"
out="$html/$(date -I)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment