mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 20:43:42 +00:00
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: b58492cfed
Co-authored-by: robbyczgw-cla <239660374+robbyczgw-cla@users.noreply.github.com>
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Reviewed-by: @steipete
This commit is contained in:
@@ -145,7 +145,10 @@ export async function executePollAction(params: {
|
||||
question: string;
|
||||
options: string[];
|
||||
maxSelections: number;
|
||||
durationSeconds?: number;
|
||||
durationHours?: number;
|
||||
threadId?: string;
|
||||
isAnonymous?: boolean;
|
||||
}): Promise<{
|
||||
handledBy: "plugin" | "core";
|
||||
payload: unknown;
|
||||
@@ -178,8 +181,13 @@ export async function executePollAction(params: {
|
||||
question: params.question,
|
||||
options: params.options,
|
||||
maxSelections: params.maxSelections,
|
||||
durationSeconds: params.durationSeconds ?? undefined,
|
||||
durationHours: params.durationHours ?? undefined,
|
||||
channel: params.ctx.channel,
|
||||
accountId: params.ctx.accountId ?? undefined,
|
||||
threadId: params.threadId ?? undefined,
|
||||
silent: params.ctx.silent ?? undefined,
|
||||
isAnonymous: params.isAnonymous ?? undefined,
|
||||
dryRun: params.ctx.dryRun,
|
||||
gateway: params.ctx.gateway,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user