aboutsummaryrefslogtreecommitdiff
path: root/discord/sticker.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash involving stickersRapptz2021-06-121-1/+1
|
* Typehint StickerRapptz2021-05-291-13/+23
|
* fix AttributeError in Sticker.imageNadir Chowdhury2021-04-291-1/+1
|
* Rewrite Asset designRapptz2021-04-161-31/+4
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove Sticker.preview_imageNadir Chowdhury2021-04-161-5/+1
|
* Add periods to sticker docsNoName2021-04-161-13/+13
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-1/+1
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+4
|
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-1/+1
| | | | | Naive datetimes will now be interpreted as local time throughout the library.
* 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 preview_asset key name in StickerRapptz2020-11-231-1/+1
|
* Sticker implementation cleanupRapptz2020-11-231-5/+10
|
* Add sticker supportZomatree2020-11-231-0/+134