mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
Remove timeout from generator
This commit is contained in:
parent
f492f2e05f
commit
e48a76ac85
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue