Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -2964,7 +2964,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
Expand Down Expand Up @@ -3316,7 +3316,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
Expand Down
Loading