aboutsummaryrefslogtreecommitdiff
path: root/discord/invite.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix fetching invites on guilds the user is not inRapptz2020-01-251-1/+1
|
* Fix fetching invites for a GroupChannel.Rapptz2020-01-201-12/+23
| | | | | Closes #2394 Fixes #2383
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Add support for on_invite_create and on_invite_deleteRapptz2020-01-171-3/+19
|
* Adjust BASE urls to have no trailing slash (consistency)Devon R2019-11-151-2/+2
|
* Return invites as https, various URL normalizationDevon R2019-11-151-1/+3
|
* Improve documentationNCPlayz2019-06-071-10/+10
|
* Make __repr__ slightly more detailed and add a few missing ones.Rapptz2019-05-261-1/+3
| | | | | | 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.
* Add table showing what methods get invite attributes.Rapptz2019-05-191-1/+23
|
* Correct the documentation for methods and properties that return AssetsVexs2019-05-141-3/+3
|
* Add back __repr__ that were deleted in the Asset redesignBenjamin Mintz2019-05-131-0/+4
| | | | | | The Asset PR (be227ebcf0c8bad6b56798339b5414b8da414dc0) changed some namedtuple-deriving classes to object-deriving classes, which meant that the free __repr__ provided by namedtuple was removed
* Redesign asset retrieval in the library.NCPlayz2019-04-061-45/+23
| | | | | | | | | | | 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
* Organise documentationNCPlayz2019-03-191-1/+1
|
* Add support for reading guild descriptionsNadir Chowdhury2019-03-131-2/+5
| | | Added `Guild.description` and `PartialInviteGuild.description`.
* Fix importsNadir Chowdhury2019-03-131-4/+4
| | | | Removed unnecessary Object import. Added `snowflake_time` and `InvalidArgument`
* Add support for guild bannersSnowyLuma2019-03-091-3/+23
| | | | | | | | Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]>
* Fix missing importsRapptz2019-02-121-1/+3
|
* Expose more information from partial invites, along with counts.Rapptz2019-02-121-14/+156
| | | | | | | | | | | | | This adds the following information. * `PartialInviteGuild` to replace `Object` patching * `PartialInviteChannel` to replace `Object` patching * Invite.approximate_member_count and Invite.approximate_presence_count The new partial objects provide better documentation on what is expected when you fetch random invites. Fixes #1830
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-2/+2
| | | | Adjust whitespace to be consistent with the rest of the library.
* [lint] Remove unused importsHornwitser2018-08-221-2/+0
| | | | Left over from various refactoring and rewrites.
* Add support for splash(_url) to invitesDismissedGuy2018-08-221-0/+6
|
* Drop support for Python 3.4 and make minimum version 3.5.2.Rapptz2018-06-101-3/+2
|
* Fixes various documentation errors/inconsistenciesSteve C2018-05-181-0/+2
| | | | Mostly dealing with permissions, also fixes Raw Events inclusion.
* Add intersphinxTobotimus2018-01-061-6/+6
|
* Fix __hash__ for Invite objects.Rapptz2017-09-041-0/+3
|
* Remove Invite.accept.Rapptz2017-07-081-19/+0
|
* Make supported operations stand out more than attributes.Rapptz2017-05-201-8/+10
|
* Kill remaining references to discord.Channel in documentation.Rapptz2017-05-191-2/+2
|
* Use describe instead of tables for supported operations.Rapptz2017-05-131-13/+15
|
* Add support for audit log reasons.Rapptz2017-05-071-2/+7
| | | | Most routes now have a 'reason' keyword argument.
* Fix support for instant invites.Rapptz2017-02-081-4/+59
|
* Fix parsing of Invite.userRapptz2017-01-301-2/+2
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Add useful repr to all data classes.Rapptz2017-01-031-0/+3
|
* Rename Server to Guild everywhere.Rapptz2017-01-031-5/+5
|
* Stateful Message and remove Invite.xkcd since it is removed.Rapptz2017-01-031-15/+12
|
* Begin working on the rewrite.Rapptz2017-01-031-17/+18
|
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Add __slots__ where appropriate to data classes.Rapptz2015-12-191-0/+4
|
* Most data classes now support hashing.Rapptz2015-12-171-2/+4
|
* All data classes now support !=, == and str(obj).Rapptz2015-12-131-1/+17
|
* Switch to NumPy style documentation.Rapptz2015-12-041-29/+18
|
* Add Client.get_invite to turn a URL to an Invite object.Rapptz2015-11-261-2/+8
|
* Add the ability to accept invites.Rapptz2015-09-051-1/+7
|
* Add support for creating invites.Rapptz2015-09-041-0/+86