diff options
| author | Terrance <[email protected]> | 2018-10-29 07:58:21 +0000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 22:38:50 -0500 |
| commit | a105f8b8cc55eed787994245c4bcc689a59a4df3 (patch) | |
| tree | a663e054c4fbab60167bcd5a670b4da472462169 /discord/client.py | |
| parent | Actually drop copy.copy in Member (diff) | |
| download | discord.py-a105f8b8cc55eed787994245c4bcc689a59a4df3.tar.xz discord.py-a105f8b8cc55eed787994245c4bcc689a59a4df3.zip | |
Webhooks: add support for multi-file upload
`Webhook.send()` now accepts a `files` kwarg holding a list of `File`
objects, which are included in the HTTP request as `file1`, `file2` and
so on.
This is an undocumented feature of the Discord API, but is analogous
with the client's sending of messages with multiple files.
Diffstat (limited to 'discord/client.py')
0 files changed, 0 insertions, 0 deletions