From 6e41b18153d38e2a469dabf8ee0be3058df7116b Mon Sep 17 00:00:00 2001 From: JefeThePug <107787719+JefeThePug@users.noreply.github.com> Date: Mon, 24 Aug 2026 23:43:02 +0900 Subject: [PATCH] Update _latex_utilities.py Instead of having an embed which replies to its original ephemeral embed (causing an ugly "original message was deleted" reply on all public embeds) it now sends a standalone embed, unrelated to interaction. Additionally, the user who initiated the command is mentioned so we know who sent it. --- src/bot/cogs/features/_latex_utilities.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bot/cogs/features/_latex_utilities.py b/src/bot/cogs/features/_latex_utilities.py index c97a6e6..6d7f93c 100644 --- a/src/bot/cogs/features/_latex_utilities.py +++ b/src/bot/cogs/features/_latex_utilities.py @@ -126,7 +126,13 @@ async def publish( ) return - await interaction.followup.send(embed=embed) + channel = interaction.channel + + if isinstance(channel, (discord.TextChannel, discord.Thread)): + await channel.send( + content=interaction.user.mention, + embed=embed, + ) for child in self.children: if isinstance(child, discord.ui.Button):