rayzrdev / SharpBot

A Discord.js selfbot written by Rayzr - 60 second installation!
https://git.io/sharpbot
MIT License
129 stars 134 forks source link

//spotify results with HTTP 401 #85

Closed angeloanan closed 6 years ago

angeloanan commented 7 years ago

When using //spotify with a link to a Spotify song, The result is an unauthorized error. The link I used is https://open.spotify.com/track/1zxtt6Dx3cxEd45ICVsi32.

What I typed + results

rayzr522 commented 7 years ago

@Doxylamin you set up the Spotify command, any ideas?

rayzr522 commented 7 years ago

Please make sure you're on the latest version of SharpBot (//exec git pull). I believe this was fixed a while back.

tilda commented 7 years ago

Spotify API requires tokens for any request now.

My idea is that you should: do a OAuth application for Spotify/find a way to generate these tokens

Doxylamin commented 7 years ago

I'm currently working on a rewrite with Client Credentials Flow. Therefore, no login would be needed. Please give me some time. ETA 02.07.

angeloanan commented 7 years ago

@Rayzr522 Still returns with a 401 even after pulling from remote. image

Doxylamin commented 7 years ago

@angeloanan As I said, I am currently working on the rewrite. I'd expect the update at the 2nd of July.

GreatGodApollo commented 7 years ago

Has this been resolved yet?

rayzr522 commented 6 years ago

@Doxylamin any updates on this? I neither use Spotify nor know how its APIs work, so I can't solve this myself.

Doxylamin commented 6 years ago

grafik Working on it. 😛 Check your Discord DMs.

rayzr522 commented 6 years ago

This issue isn't dead, it just needs #118 to be accepted, but I simply don't have the time to review and go through all the stylistic problems with the code right now.

rayzr522 commented 6 years ago

Added in #118 ✅