aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrite webhooks to play better with typings and rate limitsRapptz2021-04-157-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 ContextNadir Chowdhury2021-04-151-0/+1
|
* Add SystemChannelFlags.guild_reminder_notificationsTheOneMusic2021-04-151-0/+8
|
* Fix guild.chunk() not working on evicted guildsSteve C2021-04-142-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.ContextMrKomodoDragon2021-04-141-0/+14
|
* Add note to member docs about Spotify limitationnumbermaniac2021-04-141-0/+13
|
* Remove fetch_offline_members param for Clientapple502j2021-04-142-11/+1
|
* Fix exception for invalid channel typesMaya2021-04-141-1/+1
|
* Fix fail_if_not_exists not being set when constructed with stateRapptz2021-04-141-0/+1
|
* Add NSFW for GuildsRobin2021-04-143-4/+29
|
* Remove support for guild subscriptions apple502j2021-04-143-33/+0
|
* Add StageChannel to abc.GuildChannel docspikaninja2021-04-131-0/+1
|
* [docs] Fix reference to `Guild.id`Kino2021-04-131-1/+1
|
* Remove AutoShardedClient.request_offline_membersRapptz2021-04-121-36/+0
|
* Add support for role objects in GuildChannel.permissions_forRapptz2021-04-111-8/+44
|
* Remove User.permissions_inRapptz2021-04-112-39/+1
| | | | This seemed to only cause confusion.
* Remove comment that doesn't apply anymoreRapptz2021-04-111-4/+0
|
* Remove superfluous unused payload parameterRapptz2021-04-112-2/+2
|
* Create temporary DMChannels from message create eventsRapptz2021-04-112-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__Maya2021-04-111-1/+1
|
* [commands] Fix Command.clean_params to return a regular dictRapptz2021-04-111-7/+10
|
* [commands] Strip text to remove spaces before ellipsisKreusada2021-04-111-1/+1
|
* Use v8 overwrite type when creating a channelNadir Chowdhury2021-04-111-3/+3
|
* Remove `private_channel_(delete/create)` eventsNadir Chowdhury2021-04-113-34/+8
|
* [commands] Add support for Python 3.10 Union typingRapptz2021-04-111-1/+8
|
* [commands] Fix errors with cooldown mappingsRapptz2021-04-111-2/+7
|
* Remove Member related handling in PRESENCE_UPDATERapptz2021-04-112-21/+6
|
* Fix stray AttributeError in Guild._from_data with member cacheRapptz2021-04-111-2/+1
|
* Permission related fixes for v8Rapptz2021-04-112-5/+6
|
* add reply and application_command typesNCPlayz2021-04-112-0/+12
|
* Remove MemberCacheFlags.onlineRapptz2021-04-111-30/+2
| | | | v8 no longer gives enough data for this to be possible
* First pass at supporting v8 APIRapptz2021-04-117-37/+39
|
* [commands] use __args__ and __origin__ where applicableJosh2021-04-112-17/+27
|
* [commands] Fix repr for GreedyJosh2021-04-101-0/+4
|
* [commands] Refactor typing evaluation to not use get_type_hintsRapptz2021-04-101-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 attributeRapptz2021-04-101-4/+1
|
* Fix Intents resolution in the docsRapptz2021-04-101-1/+1
|
* Bring back discord module in discord.ext.commands documentationRapptz2021-04-101-1/+4
|
* Update Sphinx to 3.5.3Rapptz2021-04-101-1/+1
|
* Remove current module reference in commands API docsRapptz2021-04-101-2/+0
|
* [docs] Fix references to GreedyNadir Chowdhury2021-04-102-6/+6
|
* [commands] Minimise code duplication in channel converters Nadir Chowdhury2021-04-101-117/+23
|
* Added discord.StageChannel in documentationTheOneMusic2021-04-101-0/+1
|
* [commands] Make `commands.Greedy` a `typing.Generic`James2021-04-103-44/+96
|
* Make the style of external and internal cross-references consistentjack11422021-04-101-2/+6
|
* Add missing attribute tablesjack11422021-04-101-0/+18
|
* [commands] Provide a dynamic cooldown system Dan Hess2021-04-102-19/+81
|
* Fix all warnings with SphinxRapptz2021-04-106-0/+12
|
* Add missing future annotations importRapptz2021-04-101-0/+2
|
* Add typings for invites, templates, and bans Nadir Chowdhury2021-04-107-38/+185
|