mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-25 10:32:59 +00:00
Change Fetch -> Retrieve for last_message documentation
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user