Skip to content

Commit a7f1c93

Browse files
committed
docs: one line time
1 parent d1cbd88 commit a7f1c93

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

interactions/models/discord/message.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,7 @@ async def publish(self) -> None:
891891
await self._client.http.crosspost_message(self._channel_id, self.id)
892892

893893
async def end_poll(self) -> "Message":
894-
"""
895-
Ends the poll in this message.
896-
"""
894+
"""Ends the poll contained in this message."""
897895
message_data = await self._client.http.end_poll(self._channel_id, self.id)
898896
if message_data:
899897
return self._client.cache.place_message_data(message_data)

0 commit comments

Comments
 (0)