This repository has been archived on 2026-01-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Lunaris/reAuthenticate.js
2023-07-02 01:57:55 +02:00

18 lines
325 B
JavaScript

/* eslint-disable no-console */
const play = require('play-dl');
async function ReAuth() {
play.getFreeClientID().then((clientID) => {
play.setToken({
soundcloud: {
client_id: clientID,
},
});
console.log(`Soundcloud Client ID: ${clientID}`);
});
play.authorization();
}
module.exports.ReAuth = ReAuth;