Bryan Forbes
e2478b17c9
Bump aiohttp requirement and fix AsyncWebhookAdapter
2019-02-12 18:55:19 -06:00
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
2019-01-28 22:22:50 -05:00
Dice
33dc3411ac
Fix Webhook states for stateful objects
2019-01-28 21:41:55 -05:00
Chris Rrapi
dd41dac680
Fix AttributeError in webhook.send
2018-11-29 05:23:15 -05:00
Terrance
a105f8b8cc
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.
2018-11-24 22:38:50 -05:00
Hornwitser
efb4ff850e
[lint] Fix import order
...
Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
2018-11-24 22:17:58 -05:00
Rapptz
5c24e69cf2
Fix up the Sphinx strings causing warnings.
2018-09-15 09:54:00 -04:00
Hornwitser
c557ee33ca
[lint] Fix types used for __slots__ and __all__
...
Stay consistent with the rest of the library and use lists for module
__all__ values and tuples for class __slots__ attributes.
2018-08-22 21:43:55 -04:00
Hornwitser
c8b49d37be
[lint] Fix incorrect and inconsistent whitespace
...
Adjust whitespace to be consistent with the rest of the library.
2018-08-22 21:43:53 -04:00
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
2018-06-10 18:10:00 -04:00
Rapptz
eb5defed00
Fix Webhook.guild raising an AttributeError.
...
Fixes #1148
2018-03-16 17:59:50 -04:00
Tobotimus
3112e1c17e
Add intersphinx
2018-01-06 17:23:59 -05:00
Rapptz
30b5047b0e
Fix multipart sending for RequestsWebhookAdapter to work.
2018-01-03 21:55:48 -05:00
Rapptz
5013102574
Fix Webhook.delete not working.
2017-11-07 05:36:55 -05:00
rooni
415ca9a774
Add webhook.url
2017-09-18 19:31:20 +02:00
Rapptz
8912625428
Fix docstrings for Webhook.send
2017-09-08 04:23:11 -04:00
Rapptz
99bd595f5e
Rename webhook parameters to payload to avoid shadowing.
...
The old names clashed with the `json` module.
2017-08-24 22:23:14 -04:00
Rapptz
e7d3085445
Webhook URLs can have dashes and underscores.
2017-08-22 17:52:10 -04:00
Steve C
7ee5dc22fb
Fix a couple docstrings
2017-08-22 04:45:52 -04:00
Rapptz
8eb6fa0329
Fix multi-part sending with aiohttp in webhooks.
2017-08-22 00:26:43 -04:00
Rapptz
754f3a2ae9
Don't make session a keyword only argument.
2017-08-21 14:57:57 -04:00
Rapptz
b5d987347a
Fix some docstrings.
2017-08-21 02:11:00 -04:00
Rapptz
310cb05040
Fix Webhook.execute alias.
2017-08-21 02:04:44 -04:00
Rapptz
37b0fdb898
Add webhook support.
...
Allows for usage of either `requests` and `aiohttp` when used in
"Standalone" mode.
Fixes #704
2017-08-21 01:57:07 -04:00