polls_end
End a poll instantly by specifying its channel and message IDs. Only the poll's author can expire it, and Discord updates the result message.
Instructions
Purpose: Immediately end a poll (expire it). The result message is updated by Discord.
Note: Only the poll author (your bot) can end its own polls.
Returns: {ended, channel_id, message_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel containing the poll | |
| message_id | Yes | Poll message to expire | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||