Skip to content

Commit

Permalink
shorten jokes
Browse files Browse the repository at this point in the history
  • Loading branch information
djh1997 committed Mar 17, 2018
1 parent e6b786b commit 60b5fcd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions design/code/telegrambot.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,17 @@ def tellmeajoke(bot, update):
'I cannot think of a joke currently',
'My friend told me how electricity is measured and I was like Watt! ',
'Two antennas get married. The wedding was boring, but the reception was great.',
' Why was the robot mad? People kept pushing its buttons.',
'Why was the robot mad? People kept pushing its buttons.',
'Why did Mr Ohm marry Mrs. Ohm? \n\r Because he couldnt resistor!',
'What kind of car does an electrician drive?\n\r A Volts-wagon',
'What is a robots favourite kind of music? \n\r Heavy Metal.',
'If only DEAD people understand hexadecimal, how many people understand hexadecimal?\n\r57,005.',
'If only DEAD people understand hexadecimal, how many dead people are there?\n\r57,005.',
'What is FACE value in decimal? 64206',
'I turned on the radio this morning I think its broken all I heard was FFFFFF it turns out it was White Noise!'
'I turned on the radio this morning all I heard was FFFFFF it turns out it was White Noise!'
]
update.message.reply_text(choice(jokelist))
joke = choice(jokelist)
update.message.reply_text(joke)
print joke


def reboot(bot, update):
Expand Down

0 comments on commit 60b5fcd

Please sign in to comment.