aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes and improvements for v1.3 documentationHarmon2020-01-221-6/+9
| | | | | | | | | * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog
* Drop superfluous zero in version related changes in the documentationRapptz2020-01-211-6/+6
|
* Bump copyright year to 2020Rapptz2020-01-191-2/+2
| | | | Closes #2510
* Added docs for overwrites kwarg for CategoryChannel.editWilly2020-01-191-0/+5
|
* Document NotFound exception raise in message deletion endpointsRapptz2020-01-181-3/+5
|
* Allow editing of overwrites in Channel.edit()CapnS2019-12-041-2/+21
|
* Fix 'purge' method docstring.Naegin2019-11-151-1/+1
|
* Implement `TextChannel.follow()`NCPlayz2019-11-151-1/+41
|
* [docs] category_id is Optionalapple502j2019-10-201-4/+4
|
* Add VoiceChannel.voice_states low level helper.Rapptz2019-07-101-0/+18
|
* Publicly expose a type property for all channels.Rapptz2019-06-091-10/+20
| | | | Fix #2185
* Improve documentationNCPlayz2019-06-071-18/+18
|
* Make __repr__ slightly more detailed and add a few missing ones.Rapptz2019-05-261-5/+21
| | | | | | This includes raw events (which didn't have any) and a few other types that were missing them. Upon review some more useful fields were added to the repr output which would be more useful during debugging.
* Correct the documentation for methods and properties that return AssetsVexs2019-05-141-1/+1
|
* Fixed TextChannel edit method missing slowmode unitDevilXD2019-04-291-2/+2
|
* Consistent use of __all__ to prevent merge conflicts.Rapptz2019-04-201-2/+2
|
* Add reason to TextChannel.create_webhookRapptz2019-04-181-2/+7
| | | | | The reason parameter does not work with webhook deletes or edits so they're not added. Probably a Discord bug.
* Add abc.GuildChannel.clone to clone a channel with another name.Rapptz2019-04-181-0/+31
| | | | Fixes #2093
* Remove legacy nsfw check.Rapptz2019-04-161-6/+3
|
* Bool fix in TextChannel.purge documentation.Lorenzo2019-04-131-1/+1
|
* Change slowmode max value in docsapple502j2019-04-131-1/+1
|
* simplify HistoryIterator message orderingkhazhyk2019-04-071-4/+4
| | | | | | | | | | | | | | | | | | | | rename reverse -> oldest_first, which is more obvious what it does. Then, honor it entirely - if you specify no `after` endpoint, we default to the beginning of message history, similar to how `before` defaults to the end of message history. This is a breaking change, and will change the behavior of any iterator that previously would have been returning messages in a weird order for limits over 100 `for msg in history(reversed=True, limit=300)` would return the newest 300 messages, in a messed up order (100..0, 200..100, 300..200). `for msg in history(oldest_first=True, limit=300)` will now return the oldest 300 messages in order. And so on. `for msg in history(after=msg)` is unchanged, this previously would return the oldest 100 messages after `msg`, oldest->newest order, and still will.
* Redesign asset retrieval in the library.NCPlayz2019-04-061-5/+3
| | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997
* Fix documentation for Channel.last_messageCapn2019-03-221-1/+1
|
* Add TextChannel.last_message_id and TextChannel.last_messageRapptz2019-03-201-1/+46
|
* Organise documentationNCPlayz2019-03-191-28/+28
|
* Sorting bucket requires an integer.Rapptz2019-03-171-1/+1
|
* Fix typo in private property name.Rapptz2019-03-171-1/+1
|
* Add support for store channels.Rapptz2019-03-171-1/+132
|
* Handle type updates in TextChannel._update for news channels.Rapptz2019-03-121-0/+1
|
* Add Category.create_text_channel/Category.create_voice_channel (#1976)Nadir Chowdhury2019-03-121-0/+14
| | | Fixes #1971
* Add support for guild news channels.Rapptz2019-03-081-2/+10
|
* Fix typing for Channel.purge's limit kwarg.Steve C2019-02-271-1/+1
| | | PyCharm was throwing a fit when I set it to None. 😒
* Fix documentation typo in CategoryChannelPedro Cunha2019-02-121-1/+1
|
* Add CategoryChannel.text_channels and voice_channelsChris2019-01-291-0/+18
|
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* Handle implicit perms in discord.VoiceChannel.permissions_forMichael H2018-12-141-0/+13
| | | | | This adds some implicit permission handling for `discord.VoiceChannel.permissions_for` This is not documented behavior in discord's developer documentation, but it can easily be verified as correct.
* [lint] Fix import orderHornwitser2018-11-241-5/+4
| | | | | Reorder imports to be consistenly grouped by standard library, third party library, and local modules in that order thoughout the library.
* Revert "Rework documentation to not duplicate inherited members."Rapptz2018-10-111-18/+0
| | | | This reverts commit 96981210b3415e15446db0b702b07fef25c8b680.
* Rework documentation to not duplicate inherited members.Rapptz2018-10-031-0/+18
| | | | This will probably be reverted in 1 week.
* Fix up the Sphinx strings causing warnings.Rapptz2018-09-151-2/+2
|
* Add support for Discord's slow mode.Rapptz2018-09-141-7/+17
| | | | | | | Adds the following: * `slowmode_delay` for `TextChannel.edit` * `slowmode_delay` attribute for `TextChannel`
* Change docstrings to raw-stringsBeatButton2018-09-141-2/+2
|
* [lint] Fix types used for __slots__ and __all__Hornwitser2018-08-221-1/+1
| | | | | Stay consistent with the rest of the library and use lists for module __all__ values and tuples for class __slots__ attributes.
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-4/+5
| | | | Adjust whitespace to be consistent with the rest of the library.
* Make TextChannel.create_webhook name parameter mandatory.Rapptz2018-07-201-6/+3
|
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-50/+35
|
* Fixes various documentation errors/inconsistenciesSteve C2018-05-181-9/+9
| | | | Mostly dealing with permissions, also fixes Raw Events inclusion.
* Fix typo in TextChannel.delete_messages documentation.Rapptz2018-03-061-3/+3
|
* Update docstrings for channel.pyJared Shields2018-02-261-1/+4
| | | | `delete_messages` requires `manage_messages`; the docs in here, nor on RTD reflect this. Small amendment at line 180, adding three additional.