5 Commits

Author SHA1 Message Date
Rapptz
9674055c2a Add support for animated guild icons. 2019-06-04 19:04:44 -04:00
slice
d80d4145b1
Add Asset.read() to retrieve assets into bytes objects 2019-04-20 15:12:52 -07:00
Rapptz
7c091282ce Add equality comparisons between two assets and hashing an asset. 2019-04-13 17:22:25 -04:00
Rapptz
407d18a30d Fix various bugs with Asset._url None handling. 2019-04-09 05:17:29 -04:00
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
2019-04-06 19:12:50 -04:00