55 Commits

Author SHA1 Message Date
Mitchell Ferree
2e4e392b25 Correct docstring for Game 2018-03-25 04:11:54 -04:00
Myst(MysterialPy)
8ba78168a6 Add Spotify intergration colour
Added property `colour` and alias `color` which returns the Spotify
integration colour (#1db954).

Technically Discord uses both (#1cb050 and #1db954) but it appears the
former is an official Spotify colour.
2018-03-09 15:46:42 -05:00
Myst(MysterialPy)
31cc4c39de
Fix _image_url returning htps
Should be https :)

Just made this a separate PR from my previous one, in-case you decide to not include it.
2018-03-07 23:32:20 +10:00
Harmon
21bea43d22
Fix session_id in Spotify.to_dict 2018-03-06 04:55:33 -06:00
Rapptz
f8f8f418f3 Split Game object to separate Activity subtypes for Rich Presences.
This is a massive breaking change.

* All references to "game" have been renamed to "activity"
* Activity objects contain a majority of the rich presence information
* Game and Streaming are subtypes for memory optimisation purposes for
  the more common cases.
* Introduce a more specialised read-only type, Spotify, for the
  official Spotify integration to make it easier to use.
2018-03-05 11:15:49 -05:00