RPC #451
Unanswered
takeiteasy6
asked this question in
Q&A
RPC
#451
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
nvm, i fixed it. |
Beta Was this translation helpful? Give feedback.
1 reply
-
is there any chance, I can make this RPC take songs from playlist and display it? not only one song |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use an RPC.
const client = new Client({
readyStatus: false,
});
const r = new Discord.CustomStatus()
.setState('Discord')
.setEmoji('💬')
client.user.setActivity(r);
const r = new Discord.SpotifyRPC(client)
.setAssetsLargeImage("spotify:ab67616d00001e02768629f8bc5b39b68797d1bb") // Image ID
.setAssetsSmallImage("spotify:ab6761610000f178049d8aeae802c96c8208f3b7") // Image ID
.setAssetsLargeText('未来茶屋 (vol.1)') // Album Name
.setState('Yunomi; Kizuna AI') // Author
.setDetails('ロボットハート') // Song name
.setStartTimestamp(Date.now())
.setEndTimestamp(Date.now() + 1_000 * (2 * 60 + 56)) // Song length = 2m56s
.setSongId('667eE4CFfNtJloC6Lvmgrx'); // Song ID
client.user.setActivity(r);
both of them not working, there's no errors.
Beta Was this translation helpful? Give feedback.
All reactions