answer_question needed to return a value and now does even on error
This commit is contained in:
parent
94f8886348
commit
8491f02227
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue