| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 14 | -726/+488 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is a breaking change. This does the following transformations, assuming `asset` represents an asset type. Object.is_asset_animated() => Object.asset.is_animated() Object.asset => Object.asset.key Object.asset_url => Object.asset_url Object.asset_url_as => Object.asset.replace(...) Since the asset type now requires a key (or hash, if you will), Emoji had to be flattened similar to how Attachment was done since these assets are keyed solely ID. Emoji.url (Asset) => Emoji.url (str) Emoji.url_as => removed Emoji.url.read => Emoji.read Emoji.url.save => Emoji.save This transformation was also done to PartialEmoji. | ||||
| * | Add `fetch_message` for webhooks | Nadir Chowdhury | 2021-04-16 | 3 | -6/+139 |
| | | |||||
| * | Remove Sticker.preview_image | Nadir Chowdhury | 2021-04-16 | 1 | -5/+1 |
| | | |||||
| * | [commands] Add a converter for discord.Object | Nadir Chowdhury | 2021-04-16 | 4 | -0/+49 |
| | | |||||
| * | Some initial response typings | Rapptz | 2021-04-16 | 1 | -11/+24 |
| | | |||||
| * | Add periods to sticker docs | NoName | 2021-04-16 | 1 | -13/+13 |
| | | |||||
| * | Restrict snowflake regexes to 15-20 digits | Nadir Chowdhury | 2021-04-16 | 2 | -9/+9 |
| | | |||||
| * | [docs] Fix various unresolved references | Nadir Chowdhury | 2021-04-15 | 6 | -13/+16 |
| | | |||||
| * | [commands] Remove HelpCommand.clean_prefix (#6736) | pikaninja | 2021-04-15 | 1 | -19/+7 |
| | | |||||
| * | Fix overloads on Webhook.send to not require wait kwarg | Rapptz | 2021-04-15 | 2 | -2/+2 |
| | | |||||
| * | Fix WebhookMessage.edit documentation | Rapptz | 2021-04-15 | 2 | -12/+2 |
| | | |||||
| * | Fix rate limit handling with retry_after precision change | Rapptz | 2021-04-15 | 3 | -5/+10 |
| | | |||||
| * | Rewrite webhooks to play better with typings and rate limits | Rapptz | 2021-04-15 | 7 | -1229/+2377 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
| * | [commands] Fix missing `re` import in Context | Nadir Chowdhury | 2021-04-15 | 1 | -0/+1 |
| | | |||||
| * | Add SystemChannelFlags.guild_reminder_notifications | TheOneMusic | 2021-04-15 | 1 | -0/+8 |
| | | |||||
| * | Fix guild.chunk() not working on evicted guilds | Steve C | 2021-04-14 | 2 | -1/+5 |
| | | | | | If you're trying to chunk a guild that the bot is not in, it'll just hang on the chunk coro forever. It's weird, I know. | ||||
| * | [commands] Add `clean_prefix` attribute to commands.Context | MrKomodoDragon | 2021-04-14 | 1 | -0/+14 |
| | | |||||
| * | Add note to member docs about Spotify limitation | numbermaniac | 2021-04-14 | 1 | -0/+13 |
| | | |||||
| * | Remove fetch_offline_members param for Client | apple502j | 2021-04-14 | 2 | -11/+1 |
| | | |||||
| * | Fix exception for invalid channel types | Maya | 2021-04-14 | 1 | -1/+1 |
| | | |||||
| * | Fix fail_if_not_exists not being set when constructed with state | Rapptz | 2021-04-14 | 1 | -0/+1 |
| | | |||||
| * | Add NSFW for Guilds | Robin | 2021-04-14 | 3 | -4/+29 |
| | | |||||
| * | Remove support for guild subscriptions | apple502j | 2021-04-14 | 3 | -33/+0 |
| | | |||||
| * | Add StageChannel to abc.GuildChannel docs | pikaninja | 2021-04-13 | 1 | -0/+1 |
| | | |||||
| * | [docs] Fix reference to `Guild.id` | Kino | 2021-04-13 | 1 | -1/+1 |
| | | |||||
| * | Remove AutoShardedClient.request_offline_members | Rapptz | 2021-04-12 | 1 | -36/+0 |
| | | |||||
| * | Add support for role objects in GuildChannel.permissions_for | Rapptz | 2021-04-11 | 1 | -8/+44 |
| | | |||||
| * | Remove User.permissions_in | Rapptz | 2021-04-11 | 2 | -39/+1 |
| | | | | | This seemed to only cause confusion. | ||||
| * | Remove comment that doesn't apply anymore | Rapptz | 2021-04-11 | 1 | -4/+0 |
| | | |||||
| * | Remove superfluous unused payload parameter | Rapptz | 2021-04-11 | 2 | -2/+2 |
| | | |||||
| * | Create temporary DMChannels from message create events | Rapptz | 2021-04-11 | 2 | -5/+22 |
| | | | | | | | | | | | This allows for DMChannels to work without falling back to the Object error case since there is enough information to build a pseudo DMChannel object. This is a breaking change since it changes the type of DMChannel.recipient to Optional[User] for when this faux object is created. | ||||
| * | Fix spelling error in utils.__all__ | Maya | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | [commands] Fix Command.clean_params to return a regular dict | Rapptz | 2021-04-11 | 1 | -7/+10 |
| | | |||||
| * | [commands] Strip text to remove spaces before ellipsis | Kreusada | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Use v8 overwrite type when creating a channel | Nadir Chowdhury | 2021-04-11 | 1 | -3/+3 |
| | | |||||
| * | Remove `private_channel_(delete/create)` events | Nadir Chowdhury | 2021-04-11 | 3 | -34/+8 |
| | | |||||
| * | [commands] Add support for Python 3.10 Union typing | Rapptz | 2021-04-11 | 1 | -1/+8 |
| | | |||||
| * | [commands] Fix errors with cooldown mappings | Rapptz | 2021-04-11 | 1 | -2/+7 |
| | | |||||
| * | Remove Member related handling in PRESENCE_UPDATE | Rapptz | 2021-04-11 | 2 | -21/+6 |
| | | |||||
| * | Fix stray AttributeError in Guild._from_data with member cache | Rapptz | 2021-04-11 | 1 | -2/+1 |
| | | |||||
| * | Permission related fixes for v8 | Rapptz | 2021-04-11 | 2 | -5/+6 |
| | | |||||
| * | add reply and application_command types | NCPlayz | 2021-04-11 | 2 | -0/+12 |
| | | |||||
| * | Remove MemberCacheFlags.online | Rapptz | 2021-04-11 | 1 | -30/+2 |
| | | | | | v8 no longer gives enough data for this to be possible | ||||
| * | First pass at supporting v8 API | Rapptz | 2021-04-11 | 7 | -37/+39 |
| | | |||||
| * | [commands] use __args__ and __origin__ where applicable | Josh | 2021-04-11 | 2 | -17/+27 |
| | | |||||
| * | [commands] Fix repr for Greedy | Josh | 2021-04-10 | 1 | -0/+4 |
| | | |||||
| * | [commands] Refactor typing evaluation to not use get_type_hints | Rapptz | 2021-04-10 | 1 | -58/+103 |
| | | | | | | | | | | | | | | | | | get_type_hints had a few issues: 1. It would convert = None default parameters to Optional 2. It would not allow values as type annotations 3. It would not implicitly convert some string literals as ForwardRef In Python 3.9 `list['Foo']` does not convert into `list[ForwardRef('Foo')]` even though `typing.List` does this behaviour. In order to streamline it, evaluation had to be rewritten manually to support our usecases. This patch also flattens nested typing.Literal which was not done until Python 3.9.2. | ||||
| * | [commands] Remove legacy ExtensionNotFound.original attribute | Rapptz | 2021-04-10 | 1 | -4/+1 |
| | | |||||
| * | Fix Intents resolution in the docs | Rapptz | 2021-04-10 | 1 | -1/+1 |
| | | |||||
| * | Bring back discord module in discord.ext.commands documentation | Rapptz | 2021-04-10 | 1 | -1/+4 |
| | | |||||