diff options
| author | Rapptz <[email protected]> | 2017-04-08 03:17:30 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-08 03:33:21 -0400 |
| commit | bf2066278e872a86da64ef4d4ce95dfaf8baf4e7 (patch) | |
| tree | 8fc0002844570de0929706731623aa109be5f533 /docs | |
| parent | Proper recursion when launching shards. (diff) | |
| download | discord.py-bf2066278e872a86da64ef4d4ce95dfaf8baf4e7.tar.xz discord.py-bf2066278e872a86da64ef4d4ce95dfaf8baf4e7.zip | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index 6da9c1ed..6581cc97 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -827,6 +827,12 @@ Embed .. autoclass:: Embed :members: +File +~~~~~ + +.. autoclass:: File + :members: + CallMessage ~~~~~~~~~~~~ |