Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Fix threadmenu command execution#3429

Open
martinbndr wants to merge 1 commit intodevelopment from
users/martinbndr/threadmenu-cmd_execution-fix
Open

Fix threadmenu command execution #3429
martinbndr wants to merge 1 commit intodevelopment from
users/martinbndr/threadmenu-cmd_execution-fix

Conversation

@martinbndr
Copy link
Contributor

@martinbndr martinbndr commented Dec 30, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lorenzo132 lorenzo132 lorenzo132 approved these changes

@StephenDaDev StephenDaDev Awaiting requested review from StephenDaDev

@sebkuip sebkuip Awaiting requested review from sebkuip

At least 3 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /