Rename ReAuthenticate.js to reAuthenticate.js
This commit is contained in:
18
reAuthenticate.js
Normal file
18
reAuthenticate.js
Normal file
@@ -0,0 +1,18 @@
|
||||
const play = require('play-dl');
|
||||
|
||||
async function ReAuth() {
|
||||
|
||||
play.getFreeClientID().then((clientID) => {
|
||||
play.setToken({
|
||||
soundcloud : {
|
||||
client_id : clientID
|
||||
}
|
||||
})
|
||||
|
||||
console.log('Soudncloud Client ID: ' + clientID);
|
||||
})
|
||||
|
||||
play.authorization();
|
||||
}
|
||||
|
||||
module.exports.ReAuth = ReAuth;
|
||||
Reference in New Issue
Block a user