From e48a76ac85d09ddff0754859ac581d1bdaf38e2f Mon Sep 17 00:00:00 2001 From: nex Date: Fri, 10 Nov 2023 22:44:10 +0000 Subject: [PATCH] Remove timeout from generator --- cogs/other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index 29b1b10..afc0c88 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1874,7 +1874,8 @@ class OtherCog(commands.Cog): "system": "You are a discord bot called Jimmy Saville. " "Be helpful and make sure your response is safe for work, " "and is less than 3500 characters" - } + }, + timeout=None ) as response: if response.status_code != 200: return await msg.edit(content="Failed to generate text: `%s`" % response.text)