📁
randomstuff.py
  • randomstuff.py
  • Clients
    • Client
    • AsyncClient
  • Data Classes
    • AIResponse
    • Joke
    • JokeFlags
    • Waifu
    • Weather
    • WeatherLocation
    • CurrentWeather
    • WeatherForecast
  • Sub modules
    • utils
  • Errors tree
    • Forbidden
      • BadAPIKey
      • PlanNotAllowed
    • ArgumentError
      • InvalidPlanError
      • InvalidVersionError
      • InvalidServerError
      • InvalidType
      • InvalidCityError
    • HTTPError
  • Brief
    • Warnings
    • Lists
    • Unique ID
    • Joke 101
    • FAQ
    • Changelogs
Powered by GitBook
On this page

Was this helpful?

  1. Brief

Joke 101

PreviousUnique IDNextFAQ

Last updated 3 years ago

Was this helpful?

This page covers how jokes work. The entire doc is found on page. This page only covers the attribute.

Type of joke

The type of joke can be two part or single. Two part jokes are like this:

{
    'setup': "So what's a set of predefined steps the government might take to preserve the environment?", 
    'delivery': 'An Al-Gore-ithm.'
}

As you notice, it is a dictionary. It has two keys setup and delivery.

And here's a single type joke:

Java is like Alzheimer's, it starts off slow, but eventually, your memory is gone.

It is returned as a normal string.

Joke
Joke.joke