aboutsummaryrefslogtreecommitdiff
path: root/discord/asset.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Asset.read() to retrieve assets into bytes objectsslice2019-04-201-22/+40
|
* Add equality comparisons between two assets and hashing an asset.Rapptz2019-04-131-0/+21
|
* Fix various bugs with Asset._url None handling.Rapptz2019-04-091-2/+4
|
* Redesign asset retrieval in the library.NCPlayz2019-04-061-0/+157
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