misc: formatting change
This commit is contained in:
parent
b4056699ed
commit
715cab831e
1 changed files with 1 additions and 2 deletions
|
@ -19,8 +19,7 @@ class Say(commands.Cog):
|
||||||
await target.send(secondary_message)
|
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)
|
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```\n```{secondary_message}```", ephemeral=True)
|
||||||
else:
|
else:
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```", ephemeral=True)
|
||||||
content=f"Message sent to {target.mention}!\nMessage contents:\n```{message}```", ephemeral=True)
|
|
||||||
except (discord.HTTPException, discord.Forbidden) as error:
|
except (discord.HTTPException, discord.Forbidden) as error:
|
||||||
if target_type == "member":
|
if target_type == "member":
|
||||||
await interaction.response.send_message(content="That user has their direct messages closed!", ephemeral=True)
|
await interaction.response.send_message(content="That user has their direct messages closed!", ephemeral=True)
|
||||||
|
|
Loading…
Reference in a new issue