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
2017-04-08 03:17:30 -04:00
parent e5c5695399
commit bf2066278e
5 changed files with 123 additions and 32 deletions

View File

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