Skip to content

Commit

Permalink
cleanup text again
Browse files Browse the repository at this point in the history
  • Loading branch information
howardt12345 committed Nov 23, 2023
1 parent 4786d6c commit 4c048b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/confessions/confession.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def confess(interaction: discord.Interaction, confession: str, reply_to: s
reply_to_id = reply_to_confession["message_id"]

reply_to_message = await confession_channel.fetch_message(reply_to_id)
embed.add_field(name="Replying to", value=f"[{reply_to}](https://discord.com/channels/{interaction.guild_id}/{confession_channel.id}/{reply_to_id})")
embed.add_field(name="Replying to", value=f"[{'Confession ' if reply_to_message.author.id == client.user.id else ''} {reply_to}](https://discord.com/channels/{interaction.guild_id}/{confession_channel.id}/{reply_to_id})")


confession_message = await confession_channel.send(embed=embed, reference=reply_to_message)
Expand Down

0 comments on commit 4c048b7

Please sign in to comment.