mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 03:21:23 +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:
@@ -27,8 +27,9 @@ export const discordOutbound: ChannelOutboundAdapter = {
|
||||
});
|
||||
return { channel: "discord", ...result };
|
||||
},
|
||||
sendPoll: async ({ to, poll, accountId }) =>
|
||||
sendPoll: async ({ to, poll, accountId, silent }) =>
|
||||
await sendPollDiscord(to, poll, {
|
||||
accountId: accountId ?? undefined,
|
||||
silent: silent ?? undefined,
|
||||
}),
|
||||
};
|
||||
|
||||
@@ -344,4 +344,6 @@ export type ChannelPollContext = {
|
||||
poll: PollInput;
|
||||
accountId?: string | null;
|
||||
threadId?: string | null;
|
||||
silent?: boolean;
|
||||
isAnonymous?: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user