Change Fetch -> Retrieve for last_message documentation

This commit is contained in:
Rapptz 2022-04-06 23:01:39 -04:00
parent 23f6876492
commit 67a58d10ae

View File

@ -238,7 +238,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
@property @property
def last_message(self) -> Optional[Message]: 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. The message might not be valid or point to an existing message.
@ -1038,7 +1038,7 @@ class VoiceChannel(discord.abc.Messageable, VocalGuildChannel):
@property @property
def last_message(self) -> Optional[Message]: 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. The message might not be valid or point to an existing message.