Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Michael
93fa46713a
Fix and add documentation
5 years ago
Skezza
c3bca7ec73
Documentation formatting
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
JohnyTheCarrot
010ce0519a
Fix incorrect class reference in documentation
5 years ago
JohnyTheCarrot
ab5f995d78
Add support for public user flags
5 years ago
kittenswolf
6decfd1d1a
Fix colour properties being displayed as methods in the documentation.
5 years ago
Harmon
6f9793fe5e
Fixes and improvements for v1.3 documentation
* 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
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
5 years ago
Rapptz
c92ca4ee07
Add Profile.system and Profile.team_user to query newer flags
5 years ago
Rapptz
2de90fbecf
Add User.system and MessageFlags.urgent
5 years ago
Merlintor
b458cc7b7d
Return 'username' instead of 'name'
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
Willy
e713b86154
Added Optional to ClientUser.premium_type type hint
6 years ago
Tyler
c7a1f5e6e9
Disambiguate and normalize documentation for non-bot only methods
6 years ago
Reece Dunham
de1a96b9f7
Fix: another capitalization issue in docstring
6 years ago
Steve C
ae4989e474
Fix return type docstring for BaseUser.default_avatar
6 years ago
Rapptz
5c1b239b47
Different method of upgrading user instances
6 years ago
Rapptz
e75c248a9a
Properly populate __slots__ for derived user types.
Fixes #2265
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
fcf02414fe
Fix stray colon in Asset related docstrings
6 years ago
Rapptz
9674055c2a
Add support for animated guild icons.
6 years ago
Harmon
2fd589874f
Fix wording in documentation for ClientUser.locale
6 years ago
Vexs
bf5b267c55
Correct the documentation for methods and properties that return Assets
6 years ago
Rapptz
f9e95a35f9
Fix USER_UPDATE changes not triggering for member instances.
Also add a ClientUser.locale attribute.
6 years ago
Rapptz
6f26a4aad8
Improve performance of value -> enum by about 5x.
6 years ago
Rapptz
cc68cfb896
Add notes to all relationship endpoints that they don't work on bots.
6 years ago
Rapptz
7d385b23a1
Fix copy paste error in ClientUser.edit_settings
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
CapnS
4ec7213506
Added functionality to edit user settings
Changing docs to fit other parts of the lib
Co-Authored-By: CapnS <[email protected] >
Removing Type Checking
Made all of Rapptz's suggested changes
Removing imports that are no longer needed
6 years ago
NCPlayz
fb02191b80
Organise documentation
6 years ago
Liam H
79f172cf80
Add PremiumType enumeration and ClientUser.premium_type
6 years ago
CapnS
2c7c541f4e
Added User.mutual_friends()
6 years ago
bmintz
c184b0a53d
add support for Bug Hunter and Early Supporter flags
7 years ago
Hornwitser
efb4ff850e
[lint] Fix import order
Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
7 years ago
Rapptz
860d6a9ace
Revert "Rework documentation to not duplicate inherited members."
This reverts commit 96981210b3
.
7 years ago
Rapptz
96981210b3
Rework documentation to not duplicate inherited members.
This will probably be reverted in 1 week.
7 years ago
Rapptz
095f0ec2fc
Optimise some member and user related routines.
* Skip user update if possible
* Drop copy.copy in favour of manual copy
Credit to Hornwitser for these findings.
7 years ago
MusicOnline
2c1ba84346
Add colour attribute for BaseUser
7 years ago
Rapptz
5c24e69cf2
Fix up the Sphinx strings causing warnings.
7 years ago
BeatButton
a4d1599ce9
Change docstrings to raw-strings
7 years ago
Bryan Forbes
d7218259aa
Call Http.start_group() in ClientUser.create_group()
7 years ago
mental
ee57e89488
Added hypesquad house functionality
7 years ago
Hornwitser
c557ee33ca
[lint] Fix types used for __slots__ and __all__
Stay consistent with the rest of the library and use lists for module
__all__ values and tuples for class __slots__ attributes.
7 years ago
Hornwitser
d58fc0ccee
[lint] Remove unused imports
Left over from various refactoring and rewrites.
7 years ago
khazhyk
2c7a855e11
Revert "Ensure gif avatar urls end in `.gif`"
This reverts commit 456390f417
.
This commit isn't needed anymore - the image proxy now properly
handles gifs that do not end in .gif
7 years ago
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
7 years ago
khazhyk
456390f417
Ensure gif avatar urls end in `.gif`
This is a workaround for discord having trouble animating gifs if
the url does not end in exactly `.gif`. Since avatar_url is common
for thumbnails etc., adding this workaround here is handy, and
likely restores expected behavior (animated avatars animating).
7 years ago