Skip to content

Fix threadmenu command execution#3429

Merged
sebkuip merged 2 commits intodevelopmentfrom
users/martinbndr/threadmenu-cmd_execution-fix
Mar 14, 2026
Merged

Fix threadmenu command execution#3429
sebkuip merged 2 commits intodevelopmentfrom
users/martinbndr/threadmenu-cmd_execution-fix

Conversation

@martinbndr
Copy link
Contributor

This commit fixes the command execution for the threadmenu that caused commands to be sent to the recipient DM instead of the thread channel.
The root cause was that the source message (users DM) was used to generate the context for the commands being executed. Now it uses the thread genesis_message to create all needed info for the commands to be run. Responses will be forwarded to the thread channel.
Credits to the advanced menu plugin from @sebkuip which has realized it that way.

This commit fixes the command execution for the threadmenu that caused commands to be sent to the recipient DM instead of the thread channel.
Copy link
Member

@lorenzo132 lorenzo132 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this resolves the issue after some testing.

@martinbndr
Copy link
Contributor Author

We should soon implement these changes with the other threadmenu fixes to make it easier for users with the transition.

@martinbndr martinbndr requested review from StephenDaDev and removed request for StephenDaDev March 7, 2026 18:23
Copy link
Member

@sebkuip sebkuip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good to me

@sebkuip sebkuip disabled auto-merge March 14, 2026 19:46
@sebkuip sebkuip merged commit 70c8b56 into development Mar 14, 2026
5 checks passed
@sebkuip sebkuip deleted the users/martinbndr/threadmenu-cmd_execution-fix branch March 14, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants