Skip to content

Commit c9f66c4

Browse files
Makiyu-pyLulalaby
andauthored
Apply Lalasuggestions from code review
Co-authored-by: Lala Sabathil <[email protected]>
1 parent 60dcc53 commit c9f66c4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

discord/webhook/async_.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ async def fetch_message(
14641464
id: :class:`int`
14651465
The message ID to look for.
14661466
thread_id: Optional[:class:`int`]
1467-
The ID of the thread where the message is.
1467+
The ID of the thread that contains the message.
14681468
14691469
Raises
14701470
--------
@@ -1551,7 +1551,7 @@ async def edit_message(
15511551
15521552
.. versionadded:: 2.
15531553
thread: Optional[:class:`~discord.abc.Snowflake`]
1554-
The thread where the message is.
1554+
The thread that contains the message.
15551555
15561556
Raises
15571557
-------
@@ -1635,7 +1635,7 @@ async def delete_message(
16351635
message_id: :class:`int`
16361636
The message ID to delete.
16371637
thread_id: Optional[:class:`int`]
1638-
The ID of the thread where the message is.
1638+
The ID of the thread that contains the message.
16391639
16401640
Raises
16411641
-------

discord/webhook/sync.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def fetch_message(
953953
id: :class:`int`
954954
The message ID to look for.
955955
thread_id: Optional[:class:`int`]
956-
The ID of the thread where the message is.
956+
The ID of the thread that contains the message.
957957
958958
Raises
959959
--------
@@ -1024,7 +1024,7 @@ def edit_message(
10241024
Controls the mentions being processed in this message.
10251025
See :meth:`.abc.Messageable.send` for more information.
10261026
thread: Optional[:class:`~discord.abc.Snowflake`]
1027-
The thread where the message is.
1027+
The thread that contains the message.
10281028
10291029
Raises
10301030
-------
@@ -1077,7 +1077,7 @@ def delete_message(
10771077
*,
10781078
thread_id: Optional[int] = None
10791079
) -> None:
1080-
"""Deletes a message owned by this webhook.
1080+
"""Deletes a message owned by this webhook.
10811081
10821082
This is a lower level interface to :meth:`WebhookMessage.delete` in case
10831083
you only have an ID.
@@ -1089,7 +1089,7 @@ def delete_message(
10891089
message_id: :class:`int`
10901090
The message ID to delete.
10911091
thread_id: Optional[:class:`int`]
1092-
The ID of the thread where the message is.
1092+
The ID of the thread that contains the message.
10931093
10941094
Raises
10951095
-------

0 commit comments

Comments
 (0)