aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorTerrance <[email protected]>2018-10-29 07:58:21 +0000
committerRapptz <[email protected]>2018-11-24 22:38:50 -0500
commita105f8b8cc55eed787994245c4bcc689a59a4df3 (patch)
treea663e054c4fbab60167bcd5a670b4da472462169 /discord/client.py
parentActually drop copy.copy in Member (diff)
downloaddiscord.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