Update SpotifyActivity model
This commit is contained in:
parent
c090fc8820
commit
e6809a958f
@ -172,7 +172,12 @@ public final class DiscordUser {
|
|||||||
@AllArgsConstructor @Getter
|
@AllArgsConstructor @Getter
|
||||||
public static class SpotifyActivity {
|
public static class SpotifyActivity {
|
||||||
/**
|
/**
|
||||||
* The currently playing song.
|
* The ID of the currently playing track.
|
||||||
|
*/
|
||||||
|
@NonNull private final String trackId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the currently playing track.
|
||||||
*/
|
*/
|
||||||
@NonNull private final String song;
|
@NonNull private final String song;
|
||||||
|
|
||||||
@ -186,6 +191,11 @@ public final class DiscordUser {
|
|||||||
*/
|
*/
|
||||||
@NonNull private final String album;
|
@NonNull private final String album;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The URL to the playing track.
|
||||||
|
*/
|
||||||
|
@NonNull private final String trackUrl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The current progress of the track (in millis).
|
* The current progress of the track (in millis).
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "usetether",
|
"name": "usetether",
|
||||||
"version": "1.1.9",
|
"version": "1.2.0",
|
||||||
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
||||||
"description": "An API designed to provide real-time access to a user's Discord data.",
|
"description": "An API designed to provide real-time access to a user's Discord data.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -127,7 +127,12 @@ export type Banner = {
|
|||||||
*/
|
*/
|
||||||
export type SpotifyActivity = {
|
export type SpotifyActivity = {
|
||||||
/**
|
/**
|
||||||
* The currently playing song.
|
* The ID of the currently playing track.
|
||||||
|
*/
|
||||||
|
trackId: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the currently playing track.
|
||||||
*/
|
*/
|
||||||
song: string;
|
song: string;
|
||||||
|
|
||||||
@ -141,6 +146,11 @@ export type SpotifyActivity = {
|
|||||||
*/
|
*/
|
||||||
album: string;
|
album: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The URL to the playing track.
|
||||||
|
*/
|
||||||
|
trackUrl: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The current progress of the track (in millis).
|
* The current progress of the track (in millis).
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user