aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix issues with imports causing NameErrorsJosh2021-05-121-2/+2
|
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-6/+62
|
* Fix various reference issues in documentationJosh2021-05-061-7/+7
| | | | Co-Authored-By: Riley Shaw <[email protected]>
* Type hint GuildChannel and don't make it a ProtocolRapptz2021-05-051-26/+137
| | | | This reverts GuildChannel back into a base class mixin.
* Make GuildChannel inherit SnowflakeJosh2021-05-051-1/+1
|
* [docs] remove mentions of bot only usabilitySebastian Law2021-05-041-2/+0
|
* Replace uses of Ellipsis as sentinels with utils.MISSINGJosh2021-05-031-3/+5
|
* Add utils.MISSINGNadir Chowdhury2021-04-291-3/+2
|
* Properly change abc.User.avatar type to AssetRapptz2021-04-251-4/+5
|
* Add VoiceChannel.video_quality_modez03h2021-04-171-1/+8
|
* [docs] Fix various unresolved referencesNadir Chowdhury2021-04-151-3/+3
|
* Add StageChannel to abc.GuildChannel docspikaninja2021-04-131-0/+1
|
* Add support for role objects in GuildChannel.permissions_forRapptz2021-04-111-8/+44
|
* First pass at supporting v8 APIRapptz2021-04-111-15/+24
|
* Added discord.StageChannel in documentationTheOneMusic2021-04-101-0/+1
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-1/+1
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+9
|
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-4/+7
| | | | | Naive datetimes will now be interpreted as local time throughout the library.
* Use typing.Protocol instead of abc.ABCMetaJames2021-04-041-59/+53
|
* Convert two missing places to f-stringsRapptz2021-04-041-1/+1
|
* Modernize code to use f-stringsRapptz2021-04-041-2/+0
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Implement voice region changing for voice channelsTarek2021-04-011-0/+7
|
* Raise error if position could not be resolved in GuildChannel.moveRapptz2021-03-301-3/+6
|
* Return early if no kwargs are given to GuildChannel.moveRapptz2021-03-301-0/+3
|
* Ignore moving category channels to another categoryRapptz2021-03-301-0/+1
|
* Add GuildChannel.move helper method to help with moving channelsRapptz2021-03-301-0/+114
| | | | | | Moving channels is seen as a complicated task, so hopefully this abstracts a lot of it for users. There is no bulk move helper yet since I'm unsure how the API for that should be.
* remove trailing whitespaceNadir Chowdhury2021-03-131-2/+2
|
* Allow for callable class factories in abc.Connectable.connectSuzuZusu2021-02-241-3/+4
|
* fix mention_author in send causing unexpected allowed mentionsSebastian Law2021-02-241-1/+2
|
* Add support for the new permission serialization scheme.Rapptz2021-02-181-4/+4
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Fix wrong documented permission for GuildChannel.invites()Misa2020-12-071-1/+1
| | | | | | | I tested it just now, and manage_guild is not the permission you need to fetch invites from a given channel. You need manage_channels. Note that this isn't the same as Guild.invites(), which DOES use manage_guild.
* [chore] Remove redundant importsNadir Chowdhury2020-11-281-1/+1
| | | This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
* Code cleanup involving enums and message repliesRapptz2020-11-271-8/+5
|
* Implement discord.Message.replyPikalaxALT2020-11-261-6/+38
|
* Properly document that categories throw 404's on create_invite.webtax-gh2020-11-211-1/+4
|
* Properly insert at the end if position is not found when moving.Rapptz2020-10-171-1/+1
| | | | Fixes #5923
* Intern status and overwrite stringsRapptz2020-09-231-1/+2
|
* Implement VoiceProtocol lower level hooks.Rapptz2020-09-231-6/+13
| | | | | This allows changing the connect flow and taking control of it without relying on internal events or tricks.
* Fix and add documentationMichael2020-09-231-0/+5
|
* Fix allowed_mentions when sending files Xua2020-09-201-1/+1
|
* Revert "Add fetch_message_fast using history endpoint"Rapptz2020-09-141-37/+0
| | | | | | | This reverts commit a309088ae4be7c2e837e5d180822c0f9060fe86d. A rate limited was added to this method after 5 years defeating the purpose of it.
* Add missing permission in clone documentationDuck2020-09-111-0/+3
|
* Fix comparison for overwrites when checking if a channel is synced Dan Hess2020-09-091-1/+1
|
* Add fetch_message_fast using history endpointkhazhyk2020-09-071-0/+37
|
* Fix issue with empty overwritesparafoxia2020-08-251-1/+1
| | | Fixes #5756.
* Document merging behaviour of AllowedMentions in Messageable.sendRapptz2020-08-221-1/+6
|
* Optimize Channel.permissions_for by not creating temporary objectsRapptz2020-08-011-11/+7
| | | | | | | | This seemed to have shaved a few microseconds: 10.8 µs ± 79.6 ns per loop → 8.53 µs ± 48.1 ns per loop 12 µs ± 613 ns per loop → 8.72 µs ± 30.2 ns per loop With 100K loops each
* Don't use a namedtuple for _OverwritesRapptz2020-07-081-2/+16
| | | | Fix #5109
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-281-4/+4
|