Format Python code with psf/black push

github-actions 2 years ago
parent 39e8a61dc7
commit 0a60d7e2b0

@ -616,7 +616,9 @@ class GPT3ComCon(commands.Cog, name="GPT3ComCon"):
# General catch case for everything # General catch case for everything
except Exception: except Exception:
message = "Something went wrong, please try again later. This may be due to upstream issues on the API, or rate limiting." message = "Something went wrong, please try again later. This may be due to upstream issues on the API, or rate limiting."
await ctx.send_followup(message) if from_context else await ctx.reply(message) await ctx.send_followup(message) if from_context else await ctx.reply(
message
)
if user_id in self.awaiting_responses: if user_id in self.awaiting_responses:
self.awaiting_responses.remove(user_id) self.awaiting_responses.remove(user_id)
traceback.print_exc() traceback.print_exc()

Loading…
Cancel
Save