aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh <[email protected]>2020-04-24 23:02:09 +1000
committerRapptz <[email protected]>2020-05-02 19:57:48 -0400
commitc424d82f74b0f9e70f0826fae00de22ba433cc05 (patch)
tree0700687c0f06a8a2f26304c20e95ce20de5842a3
parentflags: support accessing flag value instances on the class (diff)
downloaddiscord.py-c424d82f74b0f9e70f0826fae00de22ba433cc05.tar.xz
discord.py-c424d82f74b0f9e70f0826fae00de22ba433cc05.zip
Add versionadded to Attachment.to_file use_cached param
-rw-r--r--discord/message.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py
index 0e2f0e41..834fbe5a 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
------