end_discord_poll
End a Discord poll early destructive
Description
Close a Discord poll the Hermoso bot posted, before its time is up. PERMANENT: nobody can vote afterwards and a closed poll cannot be reopened. Call it WITHOUT confirm first: nothing changes and you get the votes so far to show the user. Discord only lets the bot end its own polls. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
messageIdrequired | string | the message, as post_to_discord or read_discord_channel returned it ("<channel>/<message>", or a bare id with channel) |
channel | string | the channel id or #name, when messageId is a bare id |
discordServer | string | which Discord server (id or name) when the bot is in several |
confirm | boolean | true only once the user agreed |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/end_discord_poll.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"end_discord_poll","arguments":{"messageId":"<string>"}}}
CLI
hermoso call end_discord_poll --json '{"messageId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
get_discord_pollRead a Discord pollcrosspost_discord_messagePublish a Discord announcement to following serversread_discord_channelRead a Discord channelcreate_discord_threadStart a Discord threadset_discord_channelSet the default Discord channelupdate_discord_threadArchive, lock or rename a Discord threadlist_discord_channelsList Discord channelssend_discord_dmSend a Discord direct messageread_slack_dmRead a Slack direct message threadlist_discord_rolesList Discord roles