| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Refactor and type hint invites | Rapptz | 2021-05-29 | 1 | -60/+105 |
| | | |||||
| * | Add invite targets for voice channel invites | Zomatree | 2021-05-29 | 1 | -4/+16 |
| | | |||||
| * | Document Invite.inviter as optional | Stanisław Jelnicki | 2021-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fix various reference issues in documentation | Josh | 2021-05-06 | 1 | -1/+1 |
| | | | | | Co-Authored-By: Riley Shaw <[email protected]> | ||||
| * | Add fetch_invite with with_expiration | Nadir Chowdhury | 2021-05-01 | 1 | -17/+28 |
| | | |||||
| * | Add target_user and target_type to Invite objects | sudosnok | 2021-04-21 | 1 | -1/+14 |
| | | |||||
| * | Rename lingering _url Asset properties | Nadir Chowdhury | 2021-04-21 | 1 | -1/+1 |
| | | |||||
| * | Rewrite Asset design | Rapptz | 2021-04-16 | 1 | -56/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 typings for invites, templates, and bans | Nadir Chowdhury | 2021-04-10 | 1 | -22/+35 |
| | | |||||
| * | Use f-strings in more places that were missed. | Rapptz | 2021-04-08 | 1 | -11/+29 |
| | | |||||
| * | Add `__all__` to remaining modules | Nadir Chowdhury | 2021-04-07 | 1 | -0/+6 |
| | | |||||
| * | Convert datetimes to aware datetimes with UTC. | Rapptz | 2021-04-04 | 1 | -1/+1 |
| | | | | | | Naive datetimes will now be interpreted as local time throughout the library. | ||||
| * | Convert two missing places to f-strings | Rapptz | 2021-04-04 | 1 | -1/+1 |
| | | |||||
| * | Modernize code to use f-strings | Rapptz | 2021-04-04 | 1 | -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`. | ||||
| * | Update docs for discord.Invite.max_uses | xPolar | 2021-02-28 | 1 | -1/+3 |
| | | | | This mentions the unlimited uses aspect. | ||||
| * | Change copyright year to present | Nihaal Sangha | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | Revert "Fix table wrapping" | Rapptz | 2020-12-18 | 1 | -22/+17 |
| | | | | | This reverts commit c911cd0dbd06f6c0e774396174fb383fc63d172f. | ||||
| * | Fix table wrapping | Rapptz | 2020-12-18 | 1 | -17/+22 |
| | | |||||
| * | Remove namedtuples to better future guard the library | Tarek | 2020-09-21 | 1 | -4/+11 |
| | | |||||
| * | Documentation formatting | Skezza | 2020-06-30 | 1 | -1/+1 |
| | | |||||
| * | Fix various inconsistencies within the documentation (#5067) | Sebastian Law | 2020-06-28 | 1 | -3/+21 |
| | | |||||
| * | Change PartialInviteGuild.icon_url_as to mimic Guild.icon_url_as | Anurag | 2020-06-26 | 1 | -2/+9 |
| | | |||||
| * | Fix fetching invites on guilds the user is not in | Rapptz | 2020-01-25 | 1 | -1/+1 |
| | | |||||
| * | Fix fetching invites for a GroupChannel. | Rapptz | 2020-01-20 | 1 | -12/+23 |
| | | | | | | Closes #2394 Fixes #2383 | ||||
| * | Bump copyright year to 2020 | Rapptz | 2020-01-19 | 1 | -1/+1 |
| | | | | | Closes #2510 | ||||
| * | Add support for on_invite_create and on_invite_delete | Rapptz | 2020-01-17 | 1 | -3/+19 |
| | | |||||
| * | Adjust BASE urls to have no trailing slash (consistency) | Devon R | 2019-11-15 | 1 | -2/+2 |
| | | |||||
| * | Return invites as https, various URL normalization | Devon R | 2019-11-15 | 1 | -1/+3 |
| | | |||||
| * | Improve documentation | NCPlayz | 2019-06-07 | 1 | -10/+10 |
| | | |||||
| * | Make __repr__ slightly more detailed and add a few missing ones. | Rapptz | 2019-05-26 | 1 | -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. | Rapptz | 2019-05-19 | 1 | -1/+23 |
| | | |||||
| * | Correct the documentation for methods and properties that return Assets | Vexs | 2019-05-14 | 1 | -3/+3 |
| | | |||||
| * | Add back __repr__ that were deleted in the Asset redesign | Benjamin Mintz | 2019-05-13 | 1 | -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. | NCPlayz | 2019-04-06 | 1 | -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 documentation | NCPlayz | 2019-03-19 | 1 | -1/+1 |
| | | |||||
| * | Add support for reading guild descriptions | Nadir Chowdhury | 2019-03-13 | 1 | -2/+5 |
| | | | | Added `Guild.description` and `PartialInviteGuild.description`. | ||||
| * | Fix imports | Nadir Chowdhury | 2019-03-13 | 1 | -4/+4 |
| | | | | | Removed unnecessary Object import. Added `snowflake_time` and `InvalidArgument` | ||||
| * | Add support for guild banners | SnowyLuma | 2019-03-09 | 1 | -3/+23 |
| | | | | | | | | | Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]> | ||||
| * | Fix missing imports | Rapptz | 2019-02-12 | 1 | -1/+3 |
| | | |||||
| * | Expose more information from partial invites, along with counts. | Rapptz | 2019-02-12 | 1 | -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 Dam | 2019-01-28 | 1 | -1/+1 |
| | | |||||
| * | [lint] Fix incorrect and inconsistent whitespace | Hornwitser | 2018-08-22 | 1 | -2/+2 |
| | | | | | Adjust whitespace to be consistent with the rest of the library. | ||||
| * | [lint] Remove unused imports | Hornwitser | 2018-08-22 | 1 | -2/+0 |
| | | | | | Left over from various refactoring and rewrites. | ||||
| * | Add support for splash(_url) to invites | DismissedGuy | 2018-08-22 | 1 | -0/+6 |
| | | |||||
| * | Drop support for Python 3.4 and make minimum version 3.5.2. | Rapptz | 2018-06-10 | 1 | -3/+2 |
| | | |||||
| * | Fixes various documentation errors/inconsistencies | Steve C | 2018-05-18 | 1 | -0/+2 |
| | | | | | Mostly dealing with permissions, also fixes Raw Events inclusion. | ||||
| * | Add intersphinx | Tobotimus | 2018-01-06 | 1 | -6/+6 |
| | | |||||
| * | Fix __hash__ for Invite objects. | Rapptz | 2017-09-04 | 1 | -0/+3 |
| | | |||||
| * | Remove Invite.accept. | Rapptz | 2017-07-08 | 1 | -19/+0 |
| | | |||||
| * | Make supported operations stand out more than attributes. | Rapptz | 2017-05-20 | 1 | -8/+10 |
| | | |||||