| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix all_channel permissions | James Gayfer | 2021-08-27 | 1 | -1/+1 |
| | | | | | | | When the new permission for send_messages_in_threads was added, we added the wrong bit. Instead of adding the bit as the most significant (37), we added it as the last significant, which invalidated most of the permissions defined by this method. | ||||
| * | Rearrange player cleanup code | Imayhaveborkedit | 2021-08-27 | 1 | -18/+21 |
| | | | | | | Since apparently closing stdin and later calling communicate() is no bueno, we're just going to rearrange the process finalization code so both cleanup() and the pipe loop exit conditions point to it. | ||||
| * | [tasks] Improve typing parity | Nadir Chowdhury | 2021-08-27 | 1 | -61/+67 |
| | | |||||
| * | [commands] Fix a small typo in Context.invoke docs | ShashankKumarSaxena | 2021-08-27 | 1 | -1/+1 |
| | | |||||
| * | Fix a typo in docstrings of Client class | Abhinav Singh | 2021-08-27 | 1 | -1/+1 |
| | | |||||
| * | Change avatar_url type hint to Any instead of str | Rapptz | 2021-08-27 | 2 | -11/+13 |
| | | |||||
| * | Change a few parameters to be positional only | Chrovo | 2021-08-26 | 1 | -9/+9 |
| | | | | | | This makes parameters positional only in the methods fetch_sticker, fetch_webhook, fetch_channel, fetch_user, fetch_widget, fetch_stage_instance, fetch_guild, get_sticker, and get_channel. | ||||
| * | Fix Webhook return types | Steve C | 2021-08-26 | 2 | -12/+12 |
| | | | | Also add positional only arguments where applicable | ||||
| * | Add default value for invitable in HTTPClient | Danny | 2021-08-26 | 1 | -1/+1 |
| | | |||||
| * | Update thread permissions | James Gayfer | 2021-08-26 | 4 | -28/+29 |
| | | | | | | | | Discord has renamed / repurposed "Use Public Threads" and "Use Private Threads", as well as added a new permission "Send Messages in Threads". For more information, see: https://github.com/discord/discord-api-docs/pull/3672 | ||||
| * | Add support for invitable thread option | Josh | 2021-08-26 | 3 | -0/+15 |
| | | |||||
| * | Add Client.status attribute | pyxiis | 2021-08-26 | 1 | -0/+20 |
| | | |||||
| * | Make arguments positional only in 2 get methods | Izhar Ahmad | 2021-08-25 | 2 | -2/+2 |
| | | | | | - Member.get_role - Guild.get_member | ||||
| * | Use a thread values view when constructing TextChannel.threads | Rapptz | 2021-08-25 | 1 | -1/+1 |
| | | | | | Avoids an accidental O(n^2) situation. | ||||
| * | Use MISSING instead of None for HelpCommand.context | Rapptz | 2021-08-25 | 1 | -1/+1 |
| | | | | | It's basically just late-init | ||||
| * | Update documentation on select limits | Rapptz | 2021-08-25 | 2 | -4/+4 |
| | | |||||
| * | Bring back ParamSpec in utils | Rapptz | 2021-08-25 | 1 | -0/+4 |
| | | |||||
| * | Fix copy_doc typing to not error due to overloaded ParamSpec | Rapptz | 2021-08-25 | 1 | -6/+2 |
| | | |||||
| * | Change User.avatar to be Optional[Asset] instead of Asset | Rapptz | 2021-08-25 | 2 | -21/+18 |
| | | | | | | | | | | | | This change was needed to allow users to more easily check if an uploaded avatar was set using `if user.avatar:` rather than the admittedly clunky `if user.avatar != user.default_avatar. The old behaviour with a fallback is still useful for actual display purposes, so it has been moved over to the new `User.display_avatar` attribute. This also has symmetry with the newly added `Member.display_avatar` attribute. | ||||
| * | Change on_socket_raw_receive to dispatch right before JSON conversion | Rapptz | 2021-08-25 | 1 | -2/+2 |
| | | |||||
| * | Add Colour.brand_green and Colour.brand_red | Ryan | 2021-08-24 | 1 | -0/+16 |
| | | |||||
| * | Typehint Colour.__init__ parameter | Rapptz | 2021-08-24 | 1 | -1/+1 |
| | | |||||
| * | Fix Embed.from_dict typing being too strict for a public function | Rapptz | 2021-08-24 | 1 | -2/+2 |
| | | | | | | The Embed TypedDict is not publicly accessible so would always lead to type errors upon usage. | ||||
| * | Allow enums to be compared | Sebastian Law | 2021-08-24 | 1 | -8/+12 |
| | | |||||
| * | Clarify connect() requires Intents.voice_states | Imayhaveborkedit | 2021-08-24 | 2 | -0/+6 |
| | | |||||
| * | Fix typing error in sticker edit | Rapptz | 2021-08-23 | 1 | -2/+3 |
| | | |||||
| * | Fix some typings in HTTPClient to not take strict payload types | Rapptz | 2021-08-23 | 1 | -4/+4 |
| | | |||||
| * | Add type hint for suppress parameter | Rapptz | 2021-08-23 | 1 | -1/+1 |
| | | |||||
| * | Remove in-place edits and return fresh instances instead | Rapptz | 2021-08-23 | 15 | -82/+251 |
| | | | | | Fixes #4098 | ||||
| * | Fix typing of move role position payload parameter | Rapptz | 2021-08-23 | 1 | -1/+2 |
| | | |||||
| * | Fix typings for member HTTP methods | Rapptz | 2021-08-23 | 4 | -48/+91 |
| | | |||||
| * | Add type hints to AsyncWebhookAdapter methods | Rapptz | 2021-08-23 | 1 | -14/+18 |
| | | |||||
| * | Use getattr for default_auto_archive_duration in Message.create_thread | Rapptz | 2021-08-23 | 1 | -1/+2 |
| | | | | | | Some channel types do not have this attribute so a fallback is necessary to prevent the attribute access from erroring. | ||||
| * | Fix message.py typehints | Stocker | 2021-08-23 | 1 | -12/+19 |
| | | |||||
| * | Fix FFmpeg based audiosource input piping | Imayhaveborkedit | 2021-08-23 | 1 | -8/+34 |
| | | | | | | | | Due to an oversight that has existed since the very beginning, the pipe argument has been broken since there was nothing to actually write the data to the process's stdin. Now there is. Also josh made me add typings blegh | ||||
| * | Add missing type: ignore and missing typehint to channel.py | Stocker | 2021-08-23 | 1 | -1/+3 |
| | | |||||
| * | Make getters in Client positional only | MrKomodoDragon | 2021-08-23 | 1 | -4/+4 |
| | | |||||
| * | Fix type hints for decorators in utils | James Hilton-Balfe | 2021-08-23 | 1 | -5/+10 |
| | | |||||
| * | Add missing return type to utils.oauth_url | MrKomodoDragon | 2021-08-23 | 1 | -1/+1 |
| | | |||||
| * | Fix type for content param in HTTPClient.send_message | Stocker | 2021-08-23 | 1 | -1/+1 |
| | | |||||
| * | Added type: ignores where needed to activity.py | Stocker | 2021-08-23 | 1 | -2/+4 |
| | | |||||
| * | Fix permissions.py typing | apple502j | 2021-08-23 | 1 | -1/+4 |
| | | |||||
| * | Fix user.py typings and reformat file | Rapptz | 2021-08-22 | 1 | -6/+16 |
| | | |||||
| * | Fix typing for private channel by user lookup | Rapptz | 2021-08-22 | 1 | -2/+2 |
| | | |||||
| * | Add missing typehint for PermissionOverwrite.pair | Rapptz | 2021-08-22 | 1 | -1/+1 |
| | | | | | Technically inferred but better to be explicit | ||||
| * | Fix Member.guild_avatar docstring | Rapptz | 2021-08-22 | 1 | -2/+2 |
| | | |||||
| * | [types] Add avatar to Member typings | Rapptz | 2021-08-22 | 1 | -1/+2 |
| | | |||||
| * | Fix Member._avatar not updating in member update events | Rapptz | 2021-08-22 | 1 | -1/+3 |
| | | |||||
| * | Add per-guild member avatar support | JustAnyone | 2021-08-22 | 3 | -0/+49 |
| | | | | Fix #7054 | ||||
| * | Typehint opus.py | apple502j | 2021-08-22 | 1 | -39/+58 |
| | | |||||