misc: formatting change

This commit is contained in:
Seaswimmer 2023-08-07 21:32:44 -04:00
parent b4056699ed
commit 715cab831e
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -19,8 +19,7 @@ class Say(commands.Cog):
await target.send(secondary_message)
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```\n```{secondary_message}```", ephemeral=True)
else:
await interaction.response.send_message(
content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```", ephemeral=True)
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```", ephemeral=True)
except (discord.HTTPException, discord.Forbidden) as error:
if target_type == "member":
await interaction.response.send_message(content="That user has their direct messages closed!", ephemeral=True)