aboutsummaryrefslogtreecommitdiff
path: root/discord/partial_emoji.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typing errors in PartialEmojiRapptz2021-07-031-3/+3
|
* Allow passing Emoji in componentsRapptz2021-06-021-0/+6
|
* Add PartialEmoji.from_str helperRapptz2021-05-281-0/+38
|
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-1/+2
|
* Typehint emoji classesRapptz2021-05-051-18/+35
|
* Refactor save() and read() into AssetMixinRapptz2021-04-171-68/+4
|
* Rewrite Asset designRapptz2021-04-161-27/+69
| | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+3
|
* Modernize code to use f-stringsRapptz2021-04-041-5/+3
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Add PartialEmoji.url_asz03h2021-01-241-4/+37
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Add created_at property to PartialEmojiSteve C2020-12-061-1/+12
| | | Also fixed docstring for PartialEmoji.url
* Fix and add documentationMichael2020-09-231-2/+2
|
* Fix possibility of PartialEmoji.id being a stringEugene2020-05-291-1/+7
|
* animated key is never given to reaction_remove(_emoji)NCPlayz2020-04-061-2/+2
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Move PartialEmoji over to a new namespace to avoid circular importsRapptz2019-11-201-0/+141