Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LobaDK committed Mar 21, 2024
1 parent 86ad538 commit 3ae9cc8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cogs/Chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,7 @@ async def initiateChat(
else:
await ctx.reply(chat_response, silent=True)
except OpenAIError as e:
self.logger.error(
f"Error message: {e}"
)
self.logger.error(f"Error message: {e}")
await ctx.reply(
f"OpenAI returned an error with the error {e}. Please try again later.",
silent=True,
Expand Down

0 comments on commit 3ae9cc8

Please sign in to comment.