From 67a58d10aeeabe8a716e9af36057cd62d80404c0 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 6 Apr 2022 23:01:39 -0400 Subject: [PATCH] Change Fetch -> Retrieve for last_message documentation --- discord/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/channel.py b/discord/channel.py index 12286a399..c3b5d6101 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -238,7 +238,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, 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. @@ -1038,7 +1038,7 @@ class VoiceChannel(discord.abc.Messageable, VocalGuildChannel): @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.