From c424d82f74b0f9e70f0826fae00de22ba433cc05 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 24 Apr 2020 23:02:09 +1000 Subject: [PATCH] Add versionadded to Attachment.to_file use_cached param --- discord/message.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/message.py b/discord/message.py index 0e2f0e415..834fbe5ac 100644 --- a/discord/message.py +++ b/discord/message.py @@ -183,6 +183,8 @@ class Attachment: after the message is deleted. Note that this can still fail to download deleted attachments if too much time has passed and it does not work on some types of attachments. + + .. versionadded:: 1.4 Raises ------