diff --git a/jarvis/cogs/jokes.py b/jarvis/cogs/jokes.py index 6a0fbfd..5075998 100644 --- a/jarvis/cogs/jokes.py +++ b/jarvis/cogs/jokes.py @@ -54,7 +54,7 @@ class JokeCog(commands.Cog): ] ) )[0] - # TODO: Build a custom embed to show the joke + if result is None: await ctx.send("Humor module failed. Please try again later.") return @@ -82,10 +82,6 @@ class JokeCog(commands.Cog): else: body += " " + word - for chunk in result["body"].split("\n"): - if len(chunk) > 0: - body_chunks.append(Field("​", chunk, False)) - fields = body_chunks + [ Field("Score", result["score"]), # Field(