| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add missing type: ignore and missing typehint to channel.py | Stocker | 2021-08-23 | 1 | -1/+3 |
| | | |||||
| * | Use channel default auto archive duration | James Gayfer | 2021-08-18 | 1 | -4/+4 |
| | | | | | | | | | | Currently creating a new thread uses a default auto archive duration of 1440 minutes, or 1 day. Rather than prescribing our own default, we can use the default auto archive duration that is set on the channel. This ensures that newly created threads will respect the default auto archive duration as prescribed by the user. | ||||
| * | Remove deprecated TextChannel.active_threads for Guild version | Rapptz | 2021-08-18 | 1 | -23/+0 |
| | | | | | This also fills in the ThreadMember data from the endpoint | ||||
| * | Fix Guild.fetch_channel not working for threads | la | 2021-08-18 | 1 | -0/+7 |
| | | |||||
| * | Fix missing or broken versionadded in docstrings | AkshuAgarwal | 2021-08-18 | 1 | -0/+2 |
| | | | | This also documents BadFlagArgument.flag | ||||
| * | Rename start_thread to create_thread for consistency | Rapptz | 2021-08-12 | 1 | -10/+10 |
| | | |||||
| * | Fix incorrect indent | Rapptz | 2021-08-11 | 1 | -1/+1 |
| | | |||||
| * | Undo coercion of partial DMChannel to PartialMessageable | Rapptz | 2021-08-10 | 1 | -4/+20 |
| | | |||||
| * | Add support for PartialMessageable instances | Rapptz | 2021-08-10 | 1 | -22/+88 |
| | | | | | | This allows library users to send messages to channels without fetching it first. | ||||
| * | Add TextChannel.default_auto_archive_duration | Rapptz | 2021-08-02 | 1 | -0/+10 |
| | | |||||
| * | Fix typo in TextChannel.start_thread | Rapptz | 2021-07-31 | 1 | -1/+1 |
| | | |||||
| * | Allow creating a public thread without a starter message | Rapptz | 2021-07-28 | 1 | -5/+14 |
| | | |||||
| * | Change type to be compatible with the overwrites property | PythonCoderAS | 2021-07-28 | 1 | -16/+16 |
| | | |||||
| * | Add reason kwarg to more methods | Nadir Chowdhury | 2021-07-28 | 1 | -2/+13 |
| | | |||||
| * | Fix type annotations for purge's limit param on Thread/TextChannel | Steve C | 2021-07-21 | 1 | -1/+1 |
| | | | | Optional was missing. | ||||
| * | Remove channel type coercion in factory methods | Rapptz | 2021-07-07 | 1 | -10/+4 |
| | | | | | | This caused unnecessary isinstance checks which were slowing down channel creation at scale | ||||
| * | Fix Client.fetch_channel not returning Thread | Alex Nørgaard | 2021-07-03 | 1 | -2/+8 |
| | | |||||
| * | Document TextChannel.start_thread return type | Rapptz | 2021-07-03 | 1 | -0/+5 |
| | | |||||
| * | Fix potential None access in various StageChannel properties | Rapptz | 2021-06-30 | 1 | -3/+5 |
| | | |||||
| * | Check for None in VocalGuildChannel.voice_states | Rapptz | 2021-06-29 | 1 | -1/+7 |
| | | |||||
| * | Type hint channel.py | Rapptz | 2021-06-29 | 1 | -225/+273 |
| | | |||||
| * | Fix Category.create_x_channel raising without overwrites | Lilly Rose Berner | 2021-06-28 | 1 | -6/+6 |
| | | |||||
| * | [docs] Update Sphinx and Fix various references | Josh | 2021-06-27 | 1 | -1/+1 |
| | | | | Co-Authored-By: Riley Shaw <[email protected]> | ||||
| * | Refactor Guild to support type hints | Rapptz | 2021-06-08 | 1 | -7/+16 |
| | | | | | | | | | | | | | This patch also does the following: * Sets some parameters to be positional only * Changes Guild.edit to use the MISSING sentinel * Changes the various create_channel methods to be type safe * Changes many parameters from Optional[T] to use MISSING * Changes Guild.create_role to use MISSING sentinel This refactor is mostly partial but lays a decent foundation | ||||
| * | Add TextChannel.active_threads | Rapptz | 2021-06-08 | 1 | -0/+20 |
| | | |||||
| * | Clarify actions that require manage_threads permission | Rapptz | 2021-06-08 | 1 | -1/+1 |
| | | |||||
| * | Add TextChannel.get_thread shortcut helper | Rapptz | 2021-06-08 | 1 | -0/+17 |
| | | |||||
| * | Change how threads are created | Rapptz | 2021-06-08 | 1 | -11/+36 |
| | | | | | | | | | Instead of start_public_thread and start_private_thread they'll now be one method. I might revert this if starting a public thread without a message never ends up happening. | ||||
| * | TextChannel.archived_threads is not a coroutine | Rapptz | 2021-06-08 | 1 | -1/+1 |
| | | |||||
| * | Fix typo in start_private_thread | Rapptz | 2021-06-08 | 1 | -2/+2 |
| | | | | | This also renames archive_threads to archived_threads | ||||
| * | Implement remaining HTTP endpoints on threads | Rapptz | 2021-06-08 | 1 | -2/+79 |
| | | | | | | I'm not sure if I missed any -- but this is the entire documented set so far. | ||||
| * | First pass at preliminary thread support | Rapptz | 2021-06-08 | 1 | -0/+8 |
| | | | | | | This is missing a lot of functionality right now, such as two gateway events and all the HTTP CRUD endpoints. | ||||
| * | Fix AttributeError in is_nsfw() methods | Rapptz | 2021-06-08 | 1 | -3/+3 |
| | | |||||
| * | Fix DM channel permissions not having read_messages | Rapptz | 2021-06-05 | 1 | -0/+2 |
| | | |||||
| * | Implement StageInstance | Nadir Chowdhury | 2021-05-30 | 1 | -11/+112 |
| | | |||||
| * | Type up **kwargs of various methods | Nadir Chowdhury | 2021-05-10 | 1 | -11/+127 |
| | | |||||
| * | [docs] remove mentions of bot only usability | Sebastian Law | 2021-05-04 | 1 | -6/+3 |
| | | |||||
| * | [docs] stage_channels doc typo | Nadir Chowdhury | 2021-04-21 | 1 | -1/+1 |
| | | |||||
| * | Add VoiceChannel.video_quality_mode | z03h | 2021-04-17 | 1 | -2/+21 |
| | | |||||
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -44/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 NSFW for Guilds | Robin | 2021-04-14 | 1 | -3/+21 |
| | | |||||
| * | Remove comment that doesn't apply anymore | Rapptz | 2021-04-11 | 1 | -4/+0 |
| | | |||||
| * | Remove superfluous unused payload parameter | Rapptz | 2021-04-11 | 1 | -1/+1 |
| | | |||||
| * | Create temporary DMChannels from message create events | Rapptz | 2021-04-11 | 1 | -2/+19 |
| | | | | | | | | | | | 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. | ||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -6/+6 |
| | | |||||
| * | Remove userbot functionality | Rapptz | 2021-04-04 | 1 | -96/+2 |
| | | | | | | This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation. | ||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -6/+7 |
| | | | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`. | ||||
| * | Guard for `None` in VocalGuildChannel.members | Rapptz | 2021-04-03 | 1 | -1/+1 |
| | | |||||
| * | Implement StageChannel and related methods | Nadir Chowdhury | 2021-04-03 | 1 | -62/+218 |
| | | |||||
| * | Implement voice region changing for voice channels | Tarek | 2021-04-01 | 1 | -2/+17 |
| | | |||||