aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup some of the prior typings for cached_slot_propertyRapptz2021-04-181-23/+22
|
* Add typing for `utils.cached(_slot)_property` Nadir Chowdhury2021-04-181-16/+33
|
* [commands] Refactor evaluation functions to allow passing in localnsRapptz2021-04-181-8/+25
|
* Add privacy policy and tos fields to AppInfoZomatree2021-04-171-0/+14
|
* [docs] document inherited members on `Asset`Nadir Chowdhury2021-04-171-0/+1
|
* Use f-strings for attributetableRapptz2021-04-171-4/+7
|
* Add inherited members to (Partial)Emoji docsRapptz2021-04-171-0/+2
|
* `activities` is no longer nullableNadir Chowdhury2021-04-171-2/+2
|
* Add missing reprs to some objectsSteve C2021-04-173-0/+15
| | | These are WidgetMember, BaseUser, and DeletedReferencedMessage
* Add VoiceChannel.video_quality_modez03h2021-04-177-3/+85
|
* Refactor save() and read() into AssetMixinRapptz2021-04-174-206/+78
|
* Use default allowed_mentions in Message.editRapptz2021-04-161-1/+2
| | | | Fix #6745
* [tasks] Move the Loop's sleep to be before exit conditionsSteve C2021-04-161-2/+2
| | | | | | | | | | | | This change makes it more so that `Loop.stop()` gracefully makes the current iteration the final one, by waiting AND THEN returning. The current implementation is closer to `cancel`, while also not. I encountered this because I was trying to run a `@tasks.loop(count=1)`, and inside it I print some text and change the interval, and in an `after_loop`, I restart the loop. Without this change, it immediately floods my console, due to not waiting before executing `after_loop`.
* Revert Attachment.save code to prior implementationRapptz2021-04-161-2/+2
|
* Rewrite Asset designRapptz2021-04-1614-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 webhooksNadir Chowdhury2021-04-163-6/+139
|
* Remove Sticker.preview_imageNadir Chowdhury2021-04-161-5/+1
|
* [commands] Add a converter for discord.ObjectNadir Chowdhury2021-04-164-0/+49
|
* Some initial response typingsRapptz2021-04-161-11/+24
|
* Add periods to sticker docsNoName2021-04-161-13/+13
|
* Restrict snowflake regexes to 15-20 digitsNadir Chowdhury2021-04-162-9/+9
|
* [docs] Fix various unresolved referencesNadir Chowdhury2021-04-156-13/+16
|
* [commands] Remove HelpCommand.clean_prefix (#6736)pikaninja2021-04-151-19/+7
|
* Fix overloads on Webhook.send to not require wait kwargRapptz2021-04-152-2/+2
|
* Fix WebhookMessage.edit documentationRapptz2021-04-152-12/+2
|
* Fix rate limit handling with retry_after precision changeRapptz2021-04-153-5/+10
|
* 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
|