quiprr
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
discord/activity.py
|
|
@ -674,6 +674,14 @@ class Spotify: |
|
|
|
def track_id(self): |
|
|
|
""":class:`str`: The track ID used by Spotify to identify this song.""" |
|
|
|
return self._sync_id |
|
|
|
|
|
|
|
@property |
|
|
|
def track_url(self) -> str: |
|
|
|
""":class:`str`: The track URL to listen on Spotify. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
""" |
|
|
|
return f'https://open.spotify.com/track/{self.track_id}' |
|
|
|
|
|
|
|
@property |
|
|
|
def start(self): |
|
|
|