Merge pull request #1444 from hopyky/fix-message-path-parameter

Fix: Support path and filePath parameters in message send action
This commit is contained in:
Peter Steinberger
2026-01-23 02:10:54 +00:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -343,7 +343,7 @@ async function hydrateSendAttachmentParams(params: {
action: ChannelMessageActionName;
dryRun?: boolean;
}): Promise<void> {
if (params.action !== "sendAttachment") return;
if (params.action !== "sendAttachment" && params.action !== "send") return;
const mediaHint = readStringParam(params.args, "media", { trim: false });
const fileHint =