The DadJokeAPI class is a tool for generating dad jokes based on a specific topic. It fetches jokes from an external API and returns a random joke from the results. If no jokes are found for the given search term, it returns a message indicating that no jokes were found.

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

description: string = "a dad joke generator. get a dad joke about a specific topic. input should be a search term."
name: string = "dadjoke"

Generated using TypeDoc