mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Change object to str
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
8fe69d3457
commit
56c53f9dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ async def openai_chatbot(_, ctx: Message, strings):
|
|||
strings("answers_too_long").format(answerlink=answerlink),
|
||||
disable_web_page_preview=True,
|
||||
)
|
||||
except APIConnectionError as e:
|
||||
except APIConnectionError as str(e):
|
||||
await msg.edit_msg(f"The server could not be reached because {e.__cause__}")
|
||||
except RateLimitError as e:
|
||||
if "billing details" in e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue