mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
🎨 chore(*): run black to format the code
This commit is contained in:
@@ -131,7 +131,7 @@ async def chatgpt_process(
|
||||
messages=msgs,
|
||||
functions=called_functions,
|
||||
function_call="auto",
|
||||
user=Hasher(str(message.author.id)), #for user banning in case of abuse
|
||||
user=Hasher(str(message.author.id)), # for user banning in case of abuse
|
||||
)
|
||||
response = response["choices"][0]["message"] # type: ignore
|
||||
if response.get("function_call"):
|
||||
|
||||
Reference in New Issue
Block a user