| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update attachment documentation for width/height applying to videos too | Rapptz | 2020-01-20 | 1 | -2/+2 | |
| | | ||||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 57 | -65/+65 | |
| | | | | | Closes #2510 | |||||
| * | [commands] Case insensitivity uses casefold instead of lower | Rapptz | 2020-01-19 | 1 | -6/+6 | |
| | | | | | | There seems to be very little performance regression in doing so (+5ns) so might as well go for the more correct behaviour. | |||||
| * | Added docs for overwrites kwarg for CategoryChannel.edit | Willy | 2020-01-19 | 1 | -0/+5 | |
| | | ||||||
| * | Add instance check to PermissionOvewrite.__eq__ | Rapptz | 2020-01-19 | 1 | -1/+1 | |
| | | ||||||
| * | Document NotFound exception raise in message deletion endpoints | Rapptz | 2020-01-18 | 2 | -3/+7 | |
| | | ||||||
| * | [commands] Document BucketType separately | Rapptz | 2020-01-18 | 2 | -10/+34 | |
| | | ||||||
| * | [commands] Context.send_help properly sends to on_help_command_error | Rapptz | 2020-01-18 | 1 | -10/+22 | |
| | | ||||||
| * | Add support for clearing a specific reaction. | Rapptz | 2020-01-17 | 6 | -6/+152 | |
| | | | | | Closes #2440 | |||||
| * | Add support for on_invite_create and on_invite_delete | Rapptz | 2020-01-17 | 3 | -3/+59 | |
| | | ||||||
| * | Make CustomActivity.__str__ not raise errors and match the client | Rapptz | 2020-01-15 | 1 | -1/+6 | |
| | | ||||||
| * | [docs] Fix sphinx warning about heading | Reece Dunham | 2020-01-15 | 1 | -1/+1 | |
| | | ||||||
| * | [commands] Add missing async in documentation | apple502j | 2020-01-14 | 1 | -1/+1 | |
| | | ||||||
| * | Document BaseActivity | Rapptz | 2020-01-14 | 3 | -8/+6 | |
| | | ||||||
| * | updated the docs for Guild.vanity_invite | Zomatree | 2020-01-14 | 1 | -2/+1 | |
| | | ||||||
| * | removed parameter section in Asset.read | Zomatree | 2020-01-15 | 1 | -7/+0 | |
| | | ||||||
| * | Expose _ActivityTag as BaseActivity to easily refer to. | Rapptz | 2020-01-14 | 7 | -21/+39 | |
| | | ||||||
| * | Add support for custom activities | Rapptz | 2020-01-14 | 3 | -1/+116 | |
| | | | | | | | It's been long enough. Fixes #2400 | |||||
| * | [commands] Force the predicate attribute in checks to be a coroutine | Rapptz | 2020-01-14 | 1 | -53/+12 | |
| | | ||||||
| * | [commands] Add missing CheckAnyFailure documentation | Rapptz | 2020-01-14 | 1 | -0/+4 | |
| | | ||||||
| * | Rewrite on_ready delay to actually make sense and prevent heavy sleep | Rapptz | 2020-01-14 | 1 | -7/+15 | |
| | | ||||||
| * | Fix issue with `shard_ready` not dispatching when not fetching offline | NCPlayz | 2020-01-14 | 1 | -12/+6 | |
| | | ||||||
| * | Patch clean_prefix for new text editor | Michael H | 2020-01-14 | 1 | -1/+2 | |
| | | | | The new editor seems to force mentions to have ! even without a nick. | |||||
| * | Fix bug preventing movement of channels when there are gaps in position | Rapptz | 2020-01-12 | 1 | -5/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original code was too aggressive in ensuring that the channel positions are correct and within bounds. Unfortunately, for Discord this number is merely a guess and there can be gaps that cause the position number to be greater than the number of channels currently in that sorting bucket. One such example of this is when a channel is deleted and created. When this happens, the positions are not updated (presumably because Discord considers this to be too expensive). Sadly this means that if a user were to create a channel, delete a channel, and then create another one then there will be gaps in the position sequence. More concretely, consider the following example: Channels with position [0, 1, 2, 3, 4]. A new channel is created so it inherits the maximum position giving us [0, 1, 2, 3, 4, 5]. We delete a channel that's smaller than the maximum so our list now looks like [0, 1, 2, 4, 5]. Next time we create a channel we will further increment the gap, giving us [0, 1, 2, 4, 5, 6]. If a user would want to move the channel with position 4 to be after position 6 (so in this case that value would 7) then the library would erroneously raise an error because it assumed too much about the data integrity. Luckily, the library upon actually doing the request fixes the channel positions so everything goes back to normal like it was intended. That is to say, [0, 1, 2, 3, 4, 5]. | |||||
| * | Allow Guild.fetch_members to take in limit=None | Rapptz | 2020-01-12 | 2 | -12/+26 | |
| | | | | | Fixes #2473 | |||||
| * | Redesign permissions to allow aliases to be used. | Rapptz | 2020-01-11 | 1 | -246/+151 | |
| | | | | | | | | | | This adds manage_permissions, view_channel, and use_external_emojis aliases to Permissions. It should be noted that to prevent breaking changes and for sake of usefulness, aliases are not included in the `__iter__` for either Permissions or PermissionOverwrite. Fixes #2496 | |||||
| * | [commands] Document guild permission checks | Rapptz | 2020-01-07 | 1 | -0/+4 | |
| | | ||||||
| * | Cache member.roles access to avoid surprising performance traps | Rapptz | 2020-01-06 | 1 | -2/+12 | |
| | | | | | | Without the cache, repeated access could be accidentally quadratic or worse. | |||||
| * | [commands] Add check_any check to OR together various checks | Rapptz | 2020-01-06 | 3 | -0/+93 | |
| | | ||||||
| * | [commands] Document the changed Command.can_run behaviour | Rapptz | 2020-01-06 | 1 | -1/+5 | |
| | | ||||||
| * | Fix Member.mentioned_in returning True if in separate guilds | Rapptz | 2020-01-06 | 1 | -3/+5 | |
| | | ||||||
| * | [commands] Make Command.can_run process disabled commands | Rapptz | 2020-01-06 | 1 | -8/+6 | |
| | | ||||||
| * | Add `VoiceRegion.dubai` | NCPlayz | 2020-01-06 | 2 | -1/+5 | |
| | | ||||||
| * | Add Attachment.to_file to easily send an attachment. | Rapptz | 2020-01-03 | 1 | -0/+27 | |
| | | | | | | | | | | | | | | | | The first thing someone will ask when someone sees this method is "Why doesn't `send` just accept `Attachment`?". This question is fair but it has an issue: exception propagation becomes confusing. When we save a file and write it to memory an HTTP request is sent similar to other API calls. Like all HTTP requests, these can fail. Since these requests denote failure using HTTPException, if it were to originate within `send` then it becomes confusing to know whether the attachment saving itself failed or whether the sending failed. For that reason, and to keep in-line with only 1 type of HTTP call per method, it doesn't make sense for `send` to support `Attachment`. | |||||
| * | Document that widget members may be incomplete. | Rapptz | 2019-12-29 | 1 | -0/+8 | |
| | | | | | See https://github.com/discordapp/discord-api-docs/issues/1287 | |||||
| * | Remove unnecessary pass using regex in Message.clean_content | Rapptz | 2019-12-25 | 1 | -12/+1 | |
| | | | | | The utils.escape_mentions should deal with it | |||||
| * | Use discord.utils.escape_mentions as last step of | Michael H | 2019-12-25 | 1 | -1/+4 | |
| | | | | | discord.Message.clean_content | |||||
| * | Typo: AuditLogActionCategory | Christian Clauss | 2019-12-23 | 1 | -1/+1 | |
| | | ||||||
| * | Add Profile.system and Profile.team_user to query newer flags | Rapptz | 2019-12-21 | 3 | -3/+19 | |
| | | ||||||
| * | Add User.system and MessageFlags.urgent | Rapptz | 2019-12-21 | 2 | -1/+14 | |
| | | ||||||
| * | Clean up flag code significantly. | Rapptz | 2019-12-20 | 1 | -94/+74 | |
| | | | | | This also fixes the False setting bug. | |||||
| * | Implement discord.MessageFlags | NCPlayz | 2019-12-20 | 6 | -125/+284 | |
| | | | | | Refactor flags placement and use it for suppression. | |||||
| * | Default the Streaming name to the one passed for user created ones. | Rapptz | 2019-12-19 | 1 | -1/+1 | |
| | | ||||||
| * | Add `Guild.discovery_splash_url/_as`, `Guild.rules_channel` | NCPlayz | 2019-12-19 | 1 | -1/+52 | |
| | | ||||||
| * | [commands] Add predicate attribute to checks to get inner function | Rapptz | 2019-12-18 | 1 | -0/+67 | |
| | | ||||||
| * | Add support for YouTube Streaming | NCPlayz | 2019-12-18 | 1 | -8/+13 | |
| | | ||||||
| * | Add `RawReactionActionEvent.member` | NCPlayz | 2019-12-17 | 2 | -2/+17 | |
| | | ||||||
| * | Document the exception-suppressing behaviour of Message.delete | Io Mintz | 2019-12-17 | 1 | -1/+1 | |
| | | | | | | This is already documented for Messageable.send's delete_after kwarg. PR #2481 | |||||
| * | Wait 5 seconds before IDENTIFYing with an invalidated session. | Rapptz | 2019-12-17 | 1 | -0/+1 | |
| | | ||||||
| * | [commands] Make Greedy ignore parsing errors. | Rapptz | 2019-12-17 | 1 | -16/+16 | |
| | | ||||||