| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rewrite webhooks to play better with typings and rate limits | Rapptz | 2021-04-15 | 1 | -1216/+0 |
| | | | | | | | | | | | | | | | | | | This unfortunately required splitting the types into two. This led to a lot of unfortunate code duplication that I didn't really enjoy writing. The new design allows users to pass an authentication token to make webhook requests without the webhook token and allows to finally edit the webhook channel. The new design also uses a contextvar to store rate limiting information so multiple instances or recreating instances no longer clears the ratelimiting state since it's now essentially a "global" object. Closes #6525, closes #6662, closes #2509, closes #1761 | ||||
| * | First pass at supporting v8 API | Rapptz | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -4/+4 |
| | | |||||
| * | Add source_channel and source_guild to Webhook | Zomatree | 2021-04-06 | 1 | -1/+118 |
| | | |||||
| * | Use `asyncio.create_task` over `asyncio.ensure_future` | Nadir Chowdhury | 2021-04-05 | 1 | -1/+1 |
| | | |||||
| * | Remove userbot functionality | Rapptz | 2021-04-04 | 1 | -4/+0 |
| | | | | | | This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -10/+8 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Recreate aiohttp.FormData objects during request retries | Rapptz | 2021-03-24 | 1 | -7/+8 |
| | | | | | Fixes #6531 | ||||
| * | Fix references to snowflakes being max 21 long | Nihaal Sangha | 2021-03-02 | 1 | -1/+1 |
| | | |||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Fix AttributeError in Webhook message delete | Alex Nørgaard | 2020-12-31 | 1 | -1/+1 |
| | | |||||
| * | Fix webhook state coercion leading to unexpected behaviour. | Rapptz | 2020-12-29 | 1 | -9/+21 |
| | | | | | Fix #6220 | ||||
| * | Fix WebhookMessages docstrings | Steve C | 2020-12-10 | 1 | -2/+2 |
| | | | | Silly danno | ||||
| * | Add support for editing and deleting webhook messages. | Rapptz | 2020-12-09 | 1 | -9/+230 |
| | | | | | Fix #6058 | ||||
| * | Add a more concrete exception for 500 status codes. | Rapptz | 2020-09-09 | 1 | -1/+7 |
| | | | | | Fixes #5797 | ||||
| * | Handle cloudflare bans on webhook requests | Rapptz | 2020-09-09 | 1 | -0/+8 |
| | | | | | Fixes #5221 | ||||
| * | Add logging to webhooks | Rapptz | 2020-09-09 | 1 | -10/+23 |
| | | | | | Fixes #5798 | ||||
| * | Fix a typo with webhook documentation | ELginas | 2020-08-05 | 1 | -1/+1 |
| | | |||||
| * | Allow more methods to set an audit log reason | Nadir Chowdhury | 2020-06-30 | 1 | -11/+29 |
| | | |||||
| * | Allow Webhook to be hashable and comparable | Znunu | 2020-06-30 | 1 | -1/+19 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -4/+14 |
| | | |||||
| * | Prepare for the discord.com domain rename | Rapptz | 2020-05-23 | 1 | -3/+3 |
| | | |||||
| * | Documentation fixups for allowed mentions | Rapptz | 2020-04-04 | 1 | -1/+1 |
| | | |||||
| * | Rename allowed mention parameters to allowed_mentions | Rapptz | 2020-04-04 | 1 | -7/+7 |
| | | |||||
| * | Fix various implementation bugs with allowed mentions | Rapptz | 2020-04-04 | 1 | -6/+8 |
| | | |||||
| * | Add support for configuring allowed mentions per message or bot wide. | Rapptz | 2020-04-04 | 1 | -1/+13 |
| | | |||||
| * | Fix invalid format specifier in PartialWebhookState.__getattr__ | Sebastiaan Zeeff | 2020-02-22 | 1 | -1/+1 |
| | | | | | | | | | | The message for the AttributeError raised by the __getattr__ method of the PartialWebhookState class is formatted using `str.format`. However, the placeholder contained a stray ":" before the !r specifier. This caused a ValueError("Invalid format specifier") to be raised whenever this method was called in lieu of the AttributeError that is intended to be raised. | ||||
| * | Fix Webhook.send returning an empty string when wait=False | Rapptz | 2020-02-16 | 1 | -2/+4 |
| | | |||||
| * | Fixes and improvements for v1.3 documentation | Harmon | 2020-01-22 | 1 | -0/+3 |
| | | | | | | | | | | * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog | ||||
| * | Fix out of order files being sent in webhooks when there are 10 files. | Rapptz | 2020-01-22 | 1 | -1/+1 |
| | | |||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -2/+2 |
| | | | | | Closes #2510 | ||||
| * | Implement `Webhook.type` | NCPlayz | 2019-11-26 | 1 | -3/+11 |
| | | |||||
| * | Fix all deprecation warnings for 3.8 | Rapptz | 2019-11-20 | 1 | -3/+3 |
| | | |||||
| * | Adjust BASE urls to have no trailing slash (consistency) | Devon R | 2019-11-15 | 1 | -2/+2 |
| | | |||||
| * | Return invites as https, various URL normalization | Devon R | 2019-11-15 | 1 | -2/+2 |
| | | |||||
| * | Implement `TextChannel.follow()` | NCPlayz | 2019-11-15 | 1 | -0/+19 |
| | | |||||
| * | Fix webhooks not re-raising after retries run out | Xua | 2019-10-20 | 1 | -0/+4 |
| | | |||||
| * | Fix breakage with webhook tokens being missing. | Rapptz | 2019-07-22 | 1 | -7/+18 |
| | | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -12/+12 |
| | | |||||
| * | Fix stray colon in Asset related docstrings | Rapptz | 2019-06-04 | 1 | -2/+2 |
| | | |||||
| * | Correct the documentation for methods and properties that return Assets | Vexs | 2019-05-14 | 1 | -6/+6 |
| | | |||||
| * | Don't overwrite data parameter in webhooks. | Rapptz | 2019-05-10 | 1 | -15/+15 |
| | | | | | Fixes #2140 | ||||
| * | Consistent use of __all__ to prevent merge conflicts. | Rapptz | 2019-04-20 | 1 | -1/+6 |
| | | |||||
| * | Fix UnboundLocalError when RequestsWebhookAdapter raises an error. | Rapptz | 2019-04-15 | 1 | -1/+4 |
| | | |||||
| * | Redesign asset retrieval in the library. | NCPlayz | 2019-04-06 | 1 | -6/+8 |
| | | | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997 | ||||
| * | Double underscore HTTPClient's internal session. | Rapptz | 2019-03-24 | 1 | -1/+2 |
| | | |||||
| * | Organise documentation | NCPlayz | 2019-03-19 | 1 | -23/+23 |
| | | |||||
| * | Take back ownership of files from aiohttp for retrying requests. | Rapptz | 2019-03-18 | 1 | -5/+16 |
| | | | | | Fix #1809 | ||||
| * | Mock a ConnectionState object to fix wait=True errors in webhooks. | Rapptz | 2019-03-02 | 1 | -6/+37 |
| | | | | | Fixes #1898 | ||||
| * | Properly clean-up file objects when necessary instead of instantly. | Rapptz | 2019-03-02 | 1 | -19/+25 |
| | | | | | Fix #1770 | ||||