68 Commits

Author SHA1 Message Date
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