aboutsummaryrefslogtreecommitdiff
path: root/discord/team.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove extraneous __slots__ assignmentsRapptz2021-06-281-1/+1
|
* Type-Hint appinfo/teamJosh2021-06-101-12/+14
|
* Add invite targets for voice channel invitesZomatree2021-05-291-6/+16
|
* Rewrite Asset designRapptz2021-04-161-39/+8
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Use f-strings in more places that were missed.Rapptz2021-04-081-3/+9
|
* 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`.
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Fix Team.icon_url_as format argument default valueBryan Forbes2020-11-281-1/+1
|
* Implement icon_rl_as and cover_image_url_as for AppInfoSebbyLaw2020-11-211-2/+33
|
* Documentation fixes (#2531)Harmon2020-01-241-1/+1
| | | | | * Fix indentation for versionadded for Team.members * Replace tabs with spaces in API Reference documentation
* Fixes and improvements for v1.3 documentationHarmon2020-01-221-0/+4
| | | | | | | | | * 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
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Fix TeamMember.team typehintingJoshua B2019-07-011-1/+1
| | | class Team should be capitalised.
* Export Team related stuff from __init__Rapptz2019-06-301-0/+4
|
* Team.owner should return a TeamMember.Rapptz2019-06-301-3/+2
| | | | Should always be available but who knows.
* TeamMember inherits from BaseUser instead of attribute.Rapptz2019-06-301-10/+34
|
* [commands] Properly raise the correct exception for owner_idsRapptz2019-06-291-2/+0
| | | | Also some minor nits with documentation.
* Support team members data in application infofourjr2019-06-291-0/+100