Browse Source

Change Fetch -> Retrieve for last_message documentation

pull/10109/head
dolfies 2 years ago
parent
commit
9839e7a0e8
  1. 4
      discord/channel.py
  2. 2
      discord/threads.py

4
discord/channel.py

@ -2322,7 +2322,7 @@ class DMChannel(discord.abc.Messageable, discord.abc.Connectable, Hashable):
@property
def last_message(self) -> Optional[Message]:
"""Fetches the last message from this channel in cache.
"""Retrieves the last message from this channel in cache.
The message might not be valid or point to an existing message.
@ -2691,7 +2691,7 @@ class GroupChannel(discord.abc.Messageable, discord.abc.Connectable, Hashable):
@property
def last_message(self) -> Optional[Message]:
"""Fetches the last message from this channel in cache.
"""Retrieves the last message from this channel in cache.
The message might not be valid or point to an existing message.

2
discord/threads.py

@ -262,7 +262,7 @@ class Thread(Messageable, Hashable):
@property
def last_message(self) -> Optional[Message]:
"""Fetches the last message from this channel in cache.
"""Retrieves the last message from this channel in cache.
The message might not be valid or point to an existing message.

Loading…
Cancel
Save