diff --git a/core/thread.py b/core/thread.py index 0a240ee669..e0aea1338a 100644 --- a/core/thread.py +++ b/core/thread.py @@ -2986,7 +2986,7 @@ async def callback(self, interaction: discord.Interaction): # Create a synthetic message object that makes the bot appear # as the author for menu-invoked command replies so the user # selecting the option is not shown as a "mod" sender. - synthetic = DummyMessage(copy.copy(message)) + synthetic = DummyMessage(copy.copy(self.outer_thread._genesis_message)) try: synthetic.author = ( self.outer_thread.bot.modmail_guild.me or self.outer_thread.bot.user @@ -3338,7 +3338,7 @@ async def callback(self, interaction: discord.Interaction): ctxs = [] for al in normalize_alias(alias): view_ = StringView(self.outer_thread.bot.prefix + al) - synthetic = DummyMessage(copy.copy(message)) + synthetic = DummyMessage(copy.copy(self.outer_thread._genesis_message)) try: synthetic.author = ( self.outer_thread.bot.modmail_guild.me or self.outer_thread.bot.user