aboutsummaryrefslogtreecommitdiff
path: root/discord/activity.py
Commit message (Collapse)AuthorAgeFilesLines
* Correct docstring for GameMitchell Ferree2018-03-251-1/+1
|
* Add Spotify intergration colourMyst(MysterialPy)2018-03-091-0/+15
| | | | | | | | 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.
* Fix _image_url returning htpsMyst(MysterialPy)2018-03-071-2/+2
| | | | | Should be https :) Just made this a separate PR from my previous one, in-case you decide to not include it.
* Fix session_id in Spotify.to_dictHarmon2018-03-061-1/+1
|
* Split Game object to separate Activity subtypes for Rich Presences.Rapptz2018-03-051-0/+565
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.