| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | |
| | | ||||||
| * | Update Sphinx to 3.5.3 | Rapptz | 2021-04-10 | 1 | -1/+1 | |
| | | ||||||
| * | Remove current module reference in commands API docs | Rapptz | 2021-04-10 | 1 | -2/+0 | |
| | | ||||||
| * | [docs] Fix references to Greedy | Nadir Chowdhury | 2021-04-10 | 2 | -6/+6 | |
| | | ||||||
| * | [commands] Minimise code duplication in channel converters | Nadir Chowdhury | 2021-04-10 | 1 | -117/+23 | |
| | | ||||||
| * | Added discord.StageChannel in documentation | TheOneMusic | 2021-04-10 | 1 | -0/+1 | |
| | | ||||||
| * | [commands] Make `commands.Greedy` a `typing.Generic` | James | 2021-04-10 | 3 | -44/+96 | |
| | | ||||||
| * | Make the style of external and internal cross-references consistent | jack1142 | 2021-04-10 | 1 | -2/+6 | |
| | | ||||||
| * | Add missing attribute tables | jack1142 | 2021-04-10 | 1 | -0/+18 | |
| | | ||||||
| * | [commands] Provide a dynamic cooldown system | Dan Hess | 2021-04-10 | 2 | -19/+81 | |
| | | ||||||
| * | Fix all warnings with Sphinx | Rapptz | 2021-04-10 | 6 | -0/+12 | |
| | | ||||||
| * | Add missing future annotations import | Rapptz | 2021-04-10 | 1 | -0/+2 | |
| | | ||||||
| * | Add typings for invites, templates, and bans | Nadir Chowdhury | 2021-04-10 | 7 | -38/+185 | |
| | | ||||||