From 022472f4149b79d51147917202d498da92a5b2ae Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 6 May 2022 13:19:38 -0400 Subject: [PATCH] test --- spicebot_command_dadjoke/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spicebot_command_dadjoke/__init__.py b/spicebot_command_dadjoke/__init__.py index 6a0c229..5908215 100644 --- a/spicebot_command_dadjoke/__init__.py +++ b/spicebot_command_dadjoke/__init__.py @@ -12,11 +12,11 @@ def upper(bot, trigger, comrun): joke = getDadJoke() if not joke: joke = 'My humor module is broken.' - comrun.say(str(joke)) + comrun.say(joke) def getDadJoke(): url = 'https://icanhazdadjoke.com' page = requests.get(url, headers={'Accept': 'text/plain'}) - joke = page.content + joke = page.text return joke