We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cbd88 commit a7f1c93Copy full SHA for a7f1c93
interactions/models/discord/message.py
@@ -891,9 +891,7 @@ async def publish(self) -> None:
891
await self._client.http.crosspost_message(self._channel_id, self.id)
892
893
async def end_poll(self) -> "Message":
894
- """
895
- Ends the poll in this message.
896
+ """Ends the poll contained in this message."""
897
message_data = await self._client.http.end_poll(self._channel_id, self.id)
898
if message_data:
899
return self._client.cache.place_message_data(message_data)
0 commit comments