From e42b7dfffd411abf0c5947802ce0fbf1292667b5 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Tue, 29 Jun 2021 17:17:05 -0600 Subject: [PATCH] Chunk joke body just in case --- jarvis/cogs/jokes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/cogs/jokes.py b/jarvis/cogs/jokes.py index 661cb05..4621c97 100644 --- a/jarvis/cogs/jokes.py +++ b/jarvis/cogs/jokes.py @@ -69,7 +69,7 @@ class JokeCog(commands.Cog): match, html.unescape(match) ) body_chunks = [] - for i in range(len(result["body"]), step=1024): + for i in range(0, len(result["body"]), 1024): body_chunks.append( Field( "",