Skip to content

Commit

Permalink
Format Python code with psf/black push
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions committed Jan 5, 2023
1 parent a82acbe commit 2c21d5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cogs/gpt_3_commands_and_converser.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ async def end_conversation(self, message, opener_user_id=None):
self.conversating_users.pop(normalized_user_id)

if isinstance(message, discord.ApplicationContext):
await message.respond("Your conversation has ended!", ephemeral=True, delete_after=10)
await message.respond(
"Your conversation has ended!", ephemeral=True, delete_after=10
)
else:
await message.reply(
"You have ended the conversation with GPT3. Start a conversation with /gpt converse"
Expand Down Expand Up @@ -871,7 +873,9 @@ async def end_chat(self, ctx: discord.ApplicationContext):
traceback.print_exc()
pass
else:
await ctx.respond("You're not in any conversations", ephemeral=True, delete_after=10)
await ctx.respond(
"You're not in any conversations", ephemeral=True, delete_after=10
)

@discord.slash_command(
name="help", description="Get help for GPT3Discord", guild_ids=ALLOWED_GUILDS
Expand Down

0 comments on commit 2c21d5d

Please sign in to comment.