aboutsummaryrefslogtreecommitdiff
path: root/discord/webhook.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix AttributeError in webhook.sendChris Rrapi2018-11-291-1/+1
|
* Webhooks: add support for multi-file uploadTerrance2018-11-241-8/+28
| | | | | | | | | `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.
* [lint] Fix import orderHornwitser2018-11-241-1/+2
| | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.
* Fix up the Sphinx strings causing warnings.Rapptz2018-09-151-1/+1
|
* [lint] Fix types used for __slots__ and __all__Hornwitser2018-08-221-1/+1
| | | | | Stay consistent with the rest of the library and use lists for module __all__ values and tuples for class __slots__ attributes.
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-1/+1
| | | | Adjust whitespace to be consistent with the rest of the library.
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-13/+8
|
* Fix Webhook.guild raising an AttributeError.Rapptz2018-03-161-1/+1
| | | | Fixes #1148
* Add intersphinxTobotimus2018-01-061-8/+8
|
* Fix multipart sending for RequestsWebhookAdapter to work.Rapptz2018-01-031-2/+5
|
* Fix Webhook.delete not working.Rapptz2017-11-071-1/+1
|
* Add webhook.urlrooni2017-09-181-0/+5
|
* Fix docstrings for Webhook.sendRapptz2017-09-081-17/+20
|
* Rename webhook parameters to payload to avoid shadowing.Rapptz2017-08-241-16/+16
| | | | The old names clashed with the `json` module.
* Webhook URLs can have dashes and underscores.Rapptz2017-08-221-1/+1
|
* Fix a couple docstringsSteve C2017-08-221-3/+3
|
* Fix multi-part sending with aiohttp in webhooks.Rapptz2017-08-221-0/+1
|
* Don't make session a keyword only argument.Rapptz2017-08-211-1/+1
|
* Fix some docstrings.Rapptz2017-08-211-5/+3
|
* Fix Webhook.execute alias.Rapptz2017-08-211-2/+3
|
* Add webhook support.Rapptz2017-08-211-0/+651
Allows for usage of either `requests` and `aiohttp` when used in "Standalone" mode. Fixes #704