diff options
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index bdb9e05d..535a401f 100644 --- a/discord/message.py +++ b/discord/message.py @@ -415,6 +415,9 @@ class Message(Hashable): call: Optional[:class:`CallMessage`] The call that the message refers to. This is only applicable to messages of type :attr:`MessageType.call`. + + .. deprecated:: 1.7 + reference: Optional[:class:`~discord.MessageReference`] The message that this message references. This is only applicable to messages of type :attr:`MessageType.pins_add`, crossposted messages created by a @@ -1244,6 +1247,7 @@ class Message(Hashable): """ await self._state.http.clear_reactions(self.channel.id, self.id) + @utils.deprecated() async def ack(self): """|coro| @@ -1251,6 +1255,8 @@ class Message(Hashable): The user must not be a bot user. + .. deprecated:: 1.7 + Raises ------- HTTPException |