Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
92fffb5daa
Revert "Fix table wrapping"
This reverts commit c911cd0dbd
.
5 years ago
Rapptz
df57392aea
Fix table wrapping
5 years ago
Tarek
7f17dc79a6
Remove namedtuples to better future guard the library
5 years ago
Skezza
c3bca7ec73
Documentation formatting
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
Anurag
08af907807
Change PartialInviteGuild.icon_url_as to mimic Guild.icon_url_as
5 years ago
Rapptz
0033cc83ef
Fix fetching invites on guilds the user is not in
5 years ago
Rapptz
6ed0ae7d96
Fix fetching invites for a GroupChannel.
Closes #2394
Fixes #2383
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Rapptz
7b2c01c48a
Add support for on_invite_create and on_invite_delete
5 years ago
Devon R
bf9b9c5879
Adjust BASE urls to have no trailing slash (consistency)
5 years ago
Devon R
f5ebf42e1f
Return invites as https, various URL normalization
5 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
2cd6d771ec
Make __repr__ slightly more detailed and add a few missing ones.
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.
6 years ago
Rapptz
964b97aa30
Add table showing what methods get invite attributes.
6 years ago
Vexs
bf5b267c55
Correct the documentation for methods and properties that return Assets
6 years ago
Benjamin Mintz
a62641bd65
Add back __repr__ that were deleted in the Asset redesign
The Asset PR (be227ebcf0
) changed some namedtuple-deriving
classes to object-deriving classes, which meant that the free __repr__ provided by namedtuple
was removed
6 years ago
NCPlayz
be227ebcf0
Redesign asset retrieval in the library.
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
6 years ago
NCPlayz
fb02191b80
Organise documentation
6 years ago
Nadir Chowdhury
8f7ce7c64e
Add support for reading guild descriptions
Added `Guild.description` and `PartialInviteGuild.description`.
6 years ago
Nadir Chowdhury
e18fed6310
Fix imports
Removed unnecessary Object import.
Added `snowflake_time` and `InvalidArgument`
6 years ago
SnowyLuma
42a7c4f7e5
Add support for guild banners
Document banner attribute of Guild and Invite
Update discord/utils.py
Co-Authored-By: SnowyLuma <[email protected] >
6 years ago
Rapptz
60f9ac3062
Fix missing imports
6 years ago
Rapptz
5d78f43e55
Expose more information from partial invites, along with counts.
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
6 years ago
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
6 years ago
Hornwitser
c8b49d37be
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
7 years ago
Hornwitser
d58fc0ccee
[lint] Remove unused imports
Left over from various refactoring and rewrites.
7 years ago
DismissedGuy
c84287c007
Add support for splash(_url) to invites
7 years ago
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
7 years ago
Steve C
0e945915b7
Fixes various documentation errors/inconsistencies
Mostly dealing with permissions, also fixes Raw Events inclusion.
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
7 years ago
Rapptz
dcde896e14
Fix __hash__ for Invite objects.
8 years ago
Rapptz
6c67910fa9
Remove Invite.accept.
8 years ago
Rapptz
f4e01b3a92
Make supported operations stand out more than attributes.
8 years ago
Rapptz
3727618b65
Kill remaining references to discord.Channel in documentation.
8 years ago
Rapptz
f73eb087c9
Use describe instead of tables for supported operations.
8 years ago
Rapptz
dff6bcc745
Add support for audit log reasons.
Most routes now have a 'reason' keyword argument.
8 years ago
Rapptz
274e6af0dd
Fix support for instant invites.
8 years ago
Rapptz
5422655a86
Fix parsing of Invite.user
8 years ago
Rapptz
ff9f5749e1
Update copyright year to 2017.
8 years ago
Rapptz
dceba9d962
Add useful repr to all data classes.
8 years ago
Rapptz
d1d54a468a
Rename Server to Guild everywhere.
9 years ago
Rapptz
f33eaa4a61
Stateful Message and remove Invite.xkcd since it is removed.
9 years ago
Rapptz
044b0824e6
Begin working on the rewrite.
9 years ago
Rapptz
db4cc791dd
Update license of files to 2016.
9 years ago
Rapptz
f1f0e169e4
Add __slots__ where appropriate to data classes.
9 years ago
Rapptz
51d91c2a82
Most data classes now support hashing.
9 years ago
Rapptz
9137d92f67
All data classes now support !=, == and str(obj).
9 years ago
Rapptz
17171aaa60
Switch to NumPy style documentation.
9 years ago