answer_question needed to return a value and now does even on error

This commit is contained in:
phixxy 2024-01-24 23:51:14 -08:00
parent 94f8886348
commit 8491f02227

View file

@ -94,6 +94,7 @@ class ChatGPT(commands.Cog):
except Exception as error: except Exception as error:
print("Error occurred in answer_question") print("Error occurred in answer_question")
return "Error occurred in answer_question"
@commands.command( @commands.command(
description="Personality", description="Personality",