"Feeling down and need a pick-me-up. Can you tell me a joke?"
Need to access a database of jokes and choose one appropriate for the situation.
Joke retrieved, tell it to the user with appropriate timing and delivery.