Add support for multiple file attachments.

This is a breaking change. No longer does Messageable.send have a
filename keyword argument, instead this is all handled through the
discord.File model. To upload many files you must specify a list
of discord.File objects.
This commit is contained in:
Rapptz committed 2017-04-08 03:33:21 -04:00
1 parent e5c5695399
commit bf2066278e
5 files changed
+123 -32

No files matched your search

+6
View File
@@ -827,6 +827,12 @@ Embed
.. autoclass:: Embed
:members:
File
~~~~~
.. autoclass:: File
:members:
CallMessage
~~~~~~~~~~~~