Duckduckgo

Configuring the DuckDuckGo Module

The DuckDuckGo module provides a command to get the first DuckDuckGo search result for a given search term.

Commands and Usage

DuckDuckGo Search

Fetches the first DuckDuckGo result for the provided search term.

  • Usage:
    • ,ddg <search term>
  • Example:
    • ,ddg openai

Examples

  • To search for “OpenAI”:
    • ,ddg OpenAI
      • Response:
        • https://en.wikipedia.org/wiki/OpenAI

Command Details

  • Command: ddg
  • Arguments: <search term>
  • Response: URL of the first search result from DuckDuckGo.

Notes

  • Ensure the format of the command is correct to avoid errors.
  • The module relies on the DuckDuckGo API, which returns results in JSON format.