Use DDG directly for /lfy command

This commit is contained in:
Michael De Roover 2024-03-22 02:07:46 +01:00
parent ad60da95f2
commit 6ddcecb15d
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -273,7 +273,8 @@ konachan(){
lfy(){ lfy(){
args args
query=$(sed "s/\ /+/g" <<< ${args[*]}) query=$(sed "s/\ /+/g" <<< ${args[*]})
sendmsg "<a href=\"https://lmgtfy.app/?s=d&iee=1&q=$query\">Let me look that up for you</a>" sendmsg "Let me look that up for you...
<a href=\"https://duckduckgo.com/?q=$query\">${args[*]}</a>"
} }
ip(){ ip(){