fix: honor send path/filePath inputs (#1444) (thanks @hopyky)
This commit is contained in:
1 parent
59a8eecd7e
commit
837749dced
4 files changed
+60
-10
No files matched your search
@@ -343,7 +343,7 @@ async function hydrateSendAttachmentParams(params: {
|
||||
action: ChannelMessageActionName;
|
||||
dryRun?: boolean;
|
||||
}): Promise<void> {
|
||||
if (params.action !== "sendAttachment" && params.action !== "send") return;
|
||||
if (params.action !== "sendAttachment") return;
|
||||
|
||||
const mediaHint = readStringParam(params.args, "media", { trim: false });
|
||||
const fileHint =
|
||||
|
||||
Reference in new issue
Block a user