mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-19 21:55:06 +01:00
small improvements
This commit is contained in:
@@ -37,7 +37,7 @@ class WebSearchPlugin(Plugin):
|
||||
region='wt-wt',
|
||||
safesearch='off'
|
||||
)
|
||||
results = list(islice(ddgs_gen, 8))
|
||||
results = list(islice(ddgs_gen, 3))
|
||||
|
||||
if results is None or len(results) == 0:
|
||||
return {"Result": "No good DuckDuckGo Search Result was found"}
|
||||
|
||||
Reference in New Issue
Block a user